Can‘t access some GUI element‘s properties when using Geb framework

Geb is a framework for web application test automation, based on Selenium WebDriver. Sometimes it‘s required to access element‘s properties that are not accessible from page markup by means of WebDriver, for instance attribute „:checked“.
1 answer

Geb provides access to JavaScript variables and also allows to run JavaScript on the page. With help of that feature properties can be accessed and actions can be performed (click, etc.)

Syntax: js.exec()


I didn't know about this problem, so it's good I know of it and it's solution before it happens to me! Thank you!

Marian Berendes - Mon, 12/10/2018 - 11:25 :::