Copies CSS to the OS clipboard
1 Open Chrome
2 Navigate to https://www.google.com
3 Right click on “Google Search” button & select “Inspect”
4 Right click on the highlighted element
5 Click “Copy” > “Copy selector”
6 Paste the clipboard results into any text editor
Result: #tsf > div.tsf-p > div.jsb > center > input[type=“submit”]:nth-child(1)
7 Add this to your Object
Copies XPath to the OS clipboard
1 Open Chrome
2 Navigate to https://www.google.com
3 Right click on “Google Search” button & select “Inspect”
4 Right click on the highlighted element
5 Click “Copy” > “Copy XPath”
6 Paste the clipboard results into any text editor
Result: //*[@id=“tsf”]/div[2]/div[3]/center/input[1]
7 Add this to your Object