kaliiiiiiiiii / Selenium-Driverless

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

Trying to get promise result from Console #199

Closed Exploited7 closed 6 months ago

Exploited7 commented 6 months ago

result = await driver.execute_script('return ssss("some auth");') print(result)

how to fix the print is looks like this : JSPromise(obj_id=-2304532004773579134.2.2, context_id=2)

but in browser's console i see the promise have 2 values how can i read them in the code ?

kaliiiiiiiiii commented 6 months ago

@Exploited7 Please do not open any issues without there being an actual bug! This is a warning. Elsewhere, I'll have to ban you from this repo & the discord server.