Open Whos-This opened 5 years ago
I had the same annoying problem, you can either avoid W3C mode to make it work or try this
timeouts <- function (remDr, milliseconds)
{
qpath <- sprintf("%s/session/%s/timeouts", remDr$serverURL,
remDr$sessionInfo[["id"]])
remDr$queryRD(qpath, method = "POST", qdata = toJSON(list(type = "implicit", ms = milliseconds),
auto_unbox = TRUE))
}
timeouts(remDr, 10000)
This was over a year ago - any idea when they're going make this update to the method in the package?
While trying to set an Implicit Wait Time I get the following error: res$setImplicitWaitTimeout(milliseconds = 10000)
Selenium message:POST /session/386835f4-3708-4716-b598-f92fd115a871/timeouts/implicit_wait did not match a known command Build info: version: '4.0.0-alpha-2', revision: 'f148142cf8', time: '2019-07-01T21:30:10' System info: host: 'MSI', ip: '10.0.75.1', os.name: 'Windows 10', os.arch: 'amd64', os.version: '10.0', java.version: '1.8.0_201' Driver info: driver.version: unknown
Error: Summary: UnknownCommand Detail: The requested resource could not be found, or a request was received using an HTTP method that is not supported by the mapped resource. class: org.openqa.selenium.UnsupportedCommandException Further Details: run errorDetails method
Furthermore I would like to know about methods resembling the selenium webdriver functions: Explicit Wait Time & Fluent Wait Time (https://www.guru99.com/implicit-explicit-waits-selenium.html)
Thanks in Advance.