Current time: 12-09-2019, 12:05 PM Hello There, Guest! (LoginRegister)

Post Reply 
 
Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
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
Find all posts by this user
Quote this message in a reply
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.
Visit this user's website Find all posts by this user
Quote this message in a reply
Post Reply 


Forum Jump:


User(s) browsing this thread: 1 Guest(s)