You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Sure! You can add an event handler to check and resolve captchas:
Here is a simple demo:
fun options(args: String): LoadOptions {
val options = session.options(args)
val be = options.event.browseEventHandlers
be.onDocumentActuallyReady.addLast { page, driver ->
// Check if the page shows captchas here
// If the captcha appears, call 2Captcha
}
return options
}
val url = "https://www.amazon.com/dp/B0C1H26C46"
val args = "-refresh"
session.load(url, options(args))
If so, how can I do it in PulsarRPA? Thanks!
The text was updated successfully, but these errors were encountered: