Thursday, 14 December 2017

Regular expresstion for locators (css selector)

Regular expresstion for locators (css selector)
it can be used when values are keep changing
ex - username1,username2 etx...
Note: Keep contstant word a side
syntax - tagName[Attribute*='value')]
ex - input[name*='username')]

No comments:

Post a Comment