Could you explaine those Chromedp
selector options?
- There is an asteric after
//
- what does it mean?
- In
h2
part, in contains
- what does it mean when a dot
symbol placed after opening parenthesis?
chromedp.WaitNotPresent(`//*[@id="js-pjax-container"]//h2[contains(., 'Search more than')]`),
1 Like
NobbZ
(Norbert Melzer)
2
That’s not go specific, the passed string looks a bit like an XPath selector, but that’s just a guess. Perhaps that’s enough for you to Google.
2 Likes
system
(system)
Closed
3
This topic was automatically closed 90 days after the last reply. New replies are no longer allowed.