Differences
This shows you the differences between two versions of the page.
Both sides previous revision Previous revision | Next revision Both sides next revision | ||
tutorial:scripting_state_model [2020/11/25 16:53] admin [Activating plugins] |
tutorial:scripting_state_model [2020/11/25 21:33] admin [Web App Automation] |
||
---|---|---|---|
Line 123: | Line 123: | ||
// | // | ||
| | ||
- | def addMainPage () { | + | |
- | | + | |
- | elem = mainPage.addElement(' | + | |
- | elem.addAction(' | + | $SELENIUM.getWebDriver().findElement(elem.locator).click(); |
- | | + | }) |
- | }) | + | |
- | } | + | |
- | | + | |
Then in // | Then in // |