K
K
khodos_dmitry2021-01-04 20:31:31
selenium
khodos_dmitry, 2021-01-04 20:31:31

How to make executeScript run before all other scripts on the page in WebDriver?

I'm trying to parse a page through Panther, but I need to remove some script from the page. I want to do this with another javascript, but apparently it is executed after all the others, since the actions of other scripts are on the page.
I would like it to be executed before.
I launch through executeScript.

Answer the question

In order to leave comments, you need to log in

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question