Letractively / aost

Automatically exported from code.google.com/p/aost
Other
1 stars 0 forks source link

change the default locator to be CSS selector in 0.7.0 #415

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago

Since we added CSS selector support in Tellurium 0.6.0 almost one year ago,
the CSS selector in
Tellurium has been very stable, more flexible, and more powerful with the
0.7.0 Engine. As a result, we
like to make the default locator in Tellurium core to be CSS selector
instead of xpath.

That is to say, we set

exploitCssSelector = true

in the Environment class and you can use

disableCssSelector()

or

useCssSelector(false)

to switch back to xpath if you like to. 

Original issue reported on code.google.com by John.Jian.Fang@gmail.com on 30 Mar 2010 at 6:56

GoogleCodeExporter commented 9 years ago

Original comment by John.Jian.Fang@gmail.com on 2 Apr 2010 at 2:51