Question for (Mastering Web Automation: Strategies for Complex Challenges by SelectorsHub Creator Sanjay Kumar) Webinar attendants
Select the correct answer from the following options and write it down in the comments section:
Which selector can work for shadow DOM elements?
- //*[@id="input"]
- //input[@id="input"]
- input[id='input']
- //*[local-name()='svg']