kaliiiiiiiiii / Selenium-Driverless

undetected Selenium without usage of chromedriver
https://kaliiiiiiiiii.github.io/Selenium-Driverless/
Other
430 stars 52 forks source link

How to get ReadyState without execute_script? #130

Closed xrkk closed 7 months ago

xrkk commented 7 months ago

For now, can get ReadyState using execute_script('return document.readyState;'), but it may got caught. How to get ReadyState without execute_script?

kaliiiiiiiiii commented 7 months ago

For now, can get ReadyState using execute_script('return document.readyState;'), but it may got caught. How to get ReadyState without execute_script?

@xrkk Please do not open any issue unless it's a bug. What exactly do you mean by "getting caught" ?

xrkk commented 7 months ago

@xrkk Please do not open any issue unless it's a bug.

Sorry about this.

What exactly do you mean by "getting caught" ?

As what you said Jep, JavaScript is detectable this way tho., here: https://github.com/kaliiiiiiiiii/Selenium-Driverless/issues/127#issuecomment-1846740827

kaliiiiiiiiii commented 7 months ago

soo did you try using https://github.com/kaliiiiiiiiii/Selenium-Driverless#unique-execution-contexts ?