K
K
kupurim2018-06-17 17:41:21
PHP
kupurim, 2018-06-17 17:41:21

What are the libraries for parsing with the ability to execute js?

Hello. Previously, I used selenium webdriver for parsing, now I need an analogue with the ability to perform js functions that are on the site.
For example, such a code in selenium: I hope the essence is understood, thanks.
$driver->executeScript("type_tab('block_1');");

Answer the question

In order to leave comments, you need to log in

1 answer(s)
R
Roman Kitaev, 2018-06-17
@deliro

You think you do, but you do n't
Everything that JS does can be done without it. Of the important, this is only the execution of requests that can be monitored in the Network tab and, in fact, in the JS itself.
On selenium, it only makes sense to test layout and write acceptance tests.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question