Search found 2 matches

by cindyh
Sun Dec 01, 2019 5:37 pm
Forum: Q/A
Topic: SelectBy.Script
Replies: 3
Views: 9727

Re: Select.ByScript

Do I have to create an element, or can I just return a string from the page slected by regex? That was my goal - to put in the text of that element a regex selection from the content on the page. The documentation says your byscript has to return "an element", so I didnt know if that was a DOM eleme...
by cindyh
Fri Nov 29, 2019 2:04 am
Forum: Q/A
Topic: SelectBy.Script
Replies: 3
Views: 9727

SelectBy.Script

I think it's easiest to find my selections by Javascript and regex. But I don't see an example of what a SelectBy.Script should look like. Woud this be legitimate (I would eventually replace the innerText assignment with a regex replce). SelectBy.Script · "var s=createElement(\"p\");s.innerText='des...