Closed omarlopesino closed 1 year ago
When the click method is executed on a checkbox in Selenium 4.8.0, the following error appears:
non-positive contentLength: 0
Call Webdriver\Element::click method on a checkbox with this library, using Selenium 4.8.0.
Send the :id attribute in the POST request. This solution is based in how this is done at php-webdriver/webdriver
This PR actually breaks click. This library is not a fork of php-webdriver/webdriver, and specifically doesn't use the :id placeholder.
click
php-webdriver/webdriver
:id
Problem description
When the click method is executed on a checkbox in Selenium 4.8.0, the following error appears:
non-positive contentLength: 0
Steps to reproduce
Call Webdriver\Element::click method on a checkbox with this library, using Selenium 4.8.0.
Solution
Send the :id attribute in the POST request. This solution is based in how this is done at php-webdriver/webdriver