kaliiiiiiiiii/Selenium-Driverless

Trying to get promise result from Console

Exploited7 opened this issue · 1 comments

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 ?

@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.