getAttribute("innerHTML") returning null

148 views
Skip to first unread message

sinn...@gmail.com

unread,
Jun 2, 2021, 11:12:43 AM6/2/21
to Selenium Users
Hi,
After upgrading the chrome browser to version "91.0.4472.77", 
getAttribute("innerHTML"); and getAttribute("outerHTML"); returns null.

Please let me know if this is known issue and let us know of any work around.


Regards
Sindhu A

David

unread,
Jun 2, 2021, 9:56:09 PM6/2/21
to Selenium Users
Have you tried retrieving them from javascript execution? in case that route works, can be your workaround

sinn...@gmail.com

unread,
Jun 4, 2021, 1:18:01 AM6/4/21
to Selenium Users
Thank you. Will try that out.
However, looking if some settings in the browser or any other changes could avoid getting a null for innerHTML ?

Regards,
Sindhu A

sinn...@gmail.com

unread,
Jun 8, 2021, 5:37:20 AM6/8/21
to Selenium Users
Please let me know if this is a feature from web browser that is deprecating the getAttribute("innerHTML").

Thanks and Regards.
Sindhu A

Reply all
Reply to author
Forward
0 new messages