Answer the question
In order to leave comments, you need to log in
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 questionAsk a Question
731 491 924 answers to any question