Scripting dynamic DOM locators?
|
07-30-2015, 10:38 PM
Post: #1
|
|||
|
|||
Scripting dynamic DOM locators?
Hi I am trying to script a site that uses dynamic DOM identifiers (session based, of the type getElementById("yui_3_10_3_1_1438259156165_866") where the last 3 digits change.
I tried introducing a * wildcard, but no dice. Any way of using CSS locators instead? Advice welcomed. ATB Larry |
|||
07-30-2015, 10:46 PM
Post: #2
|
|||
|
|||
RE: Scripting dynamic DOM locators?
Your best bet is to use the exec(andwait) command and just use javascript to do whatever you want. It also makes it easier to debug because you can get it working locally in a dev tools console before trying remotely.
|
|||
« Next Oldest | Next Newest »
|
User(s) browsing this thread: 1 Guest(s)