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
Using FF v66, WebElement uses get_property instead of get_attribute for a class and returns an empty value
{
command "getElementProperty",
id "24851d23-cb09-475b-ac8c-5db2604254aa",
name "class"
} at /home/circleci/perl5/perlbrew/perls/perl-5.28.0/lib/site_perl/5.28.0/Selenium/Remote/WebElement.pm line 280.
The text was updated successfully, but these errors were encountered:
Is this more confusion over get_attribute returning property value? I've already gone over this in several issues -- this is done deliberately because the old JSONWire method returned the property instead of the attribute, despite it's name. I have to be backwards compatible to not break old tests.
You can pass a flag to make it actually fetch the attribute instead, it's right there in the documentation.
Using FF v66, WebElement uses get_property instead of get_attribute for a class and returns an empty value
{
command "getElementProperty",
id "24851d23-cb09-475b-ac8c-5db2604254aa",
name "class"
} at /home/circleci/perl5/perlbrew/perls/perl-5.28.0/lib/site_perl/5.28.0/Selenium/Remote/WebElement.pm line 280.
The text was updated successfully, but these errors were encountered: