UDEMY_SK_SelectorsHub Tutorial- A Free Next Gen XPath & Locators Tool
UDEMY_SK_SelectorsHub Tutorial- A Free Next Gen XPath & Locators Tool
v. Telegram: https://t.me/rajatt95
i. Appium + Java
c. API
1
—------------------
3. Documents:
b. Google Drive:
https://drive.google.com/drive/folders/1tne9pZjgWvfrS0l9tVHs6k1jnQHpTLoA
—------------------
=======================================================================
1. Links:
a. https://selectorshub.com/
b. https://selectorshub.com/xpath-and-cssselector-functions/
=======================================================================
1. Features:
a. Driver command Feature
b. Multi XPath and POM
i. Page Object Model
c. Shadow DOM
d. iFrame
e. SVG Elements
f. Error handling
g. Convert XPath into CSS selector
—------------------
-------------------------------------------------------------------------------------------------------------------------------
2
-----------------------------------------
========1_Introduction to SelectorsHub & Installation==========
-----------------------------------------
1. SelectorsHub:
a. It is a Browser Extension.
b. Helpful to write, update, verify and generate the Locators.
c. Advanced features:
i. Nested iframes
ii. Shadow elements
iii. SVG elements
iv. Context menu support
v. Smart Editor
vi. Error handling
2. Except for the Safari browser,
a. Just add it as an Extension
b. Restart the Browser
c. Start using it.
—--------------------
1.
—------------------
-------------------------------------------------------------------------------------------------------------------------------
3
—------------------
2.
3.
—------------------
-------------------------------------------------------------------------------------------------------------------------------
4
-----------------------------------------
========2_SelectorsHub Incredible Innovative Features==========
-----------------------------------------
b. CSS:
-------------------------------------------------------------------------------------------------------------------------------
5
—------------------
c. XPath axes:
----------------------------------------------------------------------
1. Save XPaths for future use:
a. Max -> 10 Locators can be saved.
b.
c.
—------------------
-------------------------------------------------------------------------------------------------------------------------------
6
—------------------
d.
----------------------------------------------------------------------
2. Smart Editor (Toggle)
a. You can turn it on/off
----------------------------------------------------------------------
3. Case insensitive Selectors
a.
----------------------------------------------------------------------
4. Attribute Filter feature:
a.
b. First preference will be the User provided value, then, it will go
i. Text -> id -> class -> name -> placeholder (must be Enabled)
-------------------------------------------------------------------------------------------------------------------------------
7
—------------------
5. Driver command Feature:
a.
b.
c.
—------------------
-------------------------------------------------------------------------------------------------------------------------------
8
—------------------
6. Multi XPath and POM
a. Get the XPath for all required elements in single shot
b.
—------------------
c.
—------------------
-------------------------------------------------------------------------------------------------------------------------------
9
—------------------
—------------------
—------------------
f. You can even export it as well
—------------------
-------------------------------------------------------------------------------------------------------------------------------
10
—------------------
g. Page Object Model
Copied content:
7. Debugger
a.
b. Click on the Debugger -> do the operation (click/mouse hover/fill data) on
web page -> It will pause the screen after 5 seconds
—------------------
-------------------------------------------------------------------------------------------------------------------------------
11
—------------------
c.
—------------------
a.
b.
-------------------------------------------------------------------------------------------------------------------------------
12
—------------------
c.
----------------------------------------------------------------------
9. Expand view::
a.
----------------------------------------------------------------------
10. Default settings:
a.
----------------------------------------------------------------------
11. Shadow DOM:
a. XPath does not support this; you have to go with the cssSelector
b. SelectorsHub will give the script; you simply need to copy it and proceed
c.
-------------------------------------------------------------------------------------------------------------------------------
13
—------------------
d.
e. Nested Shadow:
-------------------------------------------------------------------------------------------------------------------------------
14
—------------------
12. iFrame
a.
b. SelectorsHub only tells us that this element is in iFrame
c.
—------------------
-------------------------------------------------------------------------------------------------------------------------------
15
—------------------
d. Nested iFrames:
a.
-------------------------------------------------------------------------------------------------------------------------------
16
—------------------
14. Error handling
a.
b.
c.
d.
e.
—------------------
-------------------------------------------------------------------------------------------------------------------------------
17
b.
—------------------
—------------------
-------------------------------------------------------------------------------------------------------------------------------
18
-----------------------------------------
========3_Why SelectorsHub?==========
-----------------------------------------
-----------------------------------------
========4_SelectorsHub for Safari==========
-----------------------------------------
-----------------------------------------
========5_SelectorsHub Certification==========
-----------------------------------------
=======================================================================
=======================================================================
-------------------------------------------------------------------------------------------------------------------------------
19
1. Documents
b. Google Drive:
https://drive.google.com/drive/folders/1tne9pZjgWvfrS0l9tVHs6k1jnQHpTLoA
2. To connect
a.
=======================================================================
=======================================================================
-------------------------------------------------------------------------------------------------------------------------------
20