[neon] Enable HTML Selectors for Selenium [message #1759518] |
Wed, 12 April 2017 01:43  |
Eclipse User |
|
|
|
We will start using Selenium in our project and I was wondering how we would best use selectors for the DOM elements that Scout generates.
When scout.dev.mode is enabled in the config.properties, elements receive the data-modelclass attribute, which is really handy for writing CSS selectors in Selenium. However we don't really want the other effects that dev mode has, like disabled caching. Is it possible to somehow activate only the data attributes on the elements?
The other possibility would obviously be to add class names to the elements we want to use in the Selenium test, however the other approach seems a lot nicer. Or do you have any other ideas?
|
|
|
|
|
|
|
Powered by
FUDForum. Page generated in 0.03767 seconds