-
Notifications
You must be signed in to change notification settings - Fork 62
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
The "\WebDriver\Session::frame" isn't serializing arguments #131
Comments
PR for 1.x branch added: As for the |
@robocoder , any ideas on how to fix this in the |
This should be fixed in |
andriokha
added a commit
to FabbDev/php-webdriver
that referenced
this issue
Jun 29, 2024
andriokha
added a commit
to FabbDev/php-webdriver
that referenced
this issue
Jun 29, 2024
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
According to the https://www.selenium.dev/documentation/legacy/json_wire_protocol/#sessionsessionidframe it is possible to specify a JSON reference to a WebElement for frame identification.
When attempting to do so using this code I'm getting an exception from the
\WebDriver\AbstractWebDriver::assertSerializable
method:This is happening because the
\WebDriver\Element
class object isn't converted to a JSON interpretation. The only methods, that do serialization are\WebDriver\Session::execute
and\WebDriver\Session::execute_async
.P.S.
I've checked other places in the code and this is the only one, where proper serialization is missing.
The text was updated successfully, but these errors were encountered: