How to generate XPath & selectors for cross origin iframe elements in SelectorsHub? XPath Plugin

  Рет қаралды 5,815

SelectorsHub

SelectorsHub

3 жыл бұрын

Take my Udemy Course and learn A to Z with deep concepts about XPath, cssSelector, WebElements, Shadow DOM, iframes, SVG, SelectorsHub, TestCase Studio and more complex automation scenarios to be an automation expert-
www.udemy.com/course/xpath-cs...
SelectorsHub home page & download link-
selectorshub.com/
Get your beautiful SelectorsHub T-Shirt from here-
teeshopper.in/products/select...
Donate & support SelectorsHub-
selectorshub.com/donate/
SelectorsHub Telegram Group-
t.me/joinchat/VeznXC0m6D-1kCa9
Need support, connect on Slack
bit.ly/SH_Slack
SelectorsHub Udemy Course-
bit.ly/SH_Full_Course
Detailed tutorial on iframe & nested iframe-
• How to Handle iFrame a...
Detailed tutorial on Shadow DOM-
• SelectorsHub: How to A...
If SelectorsHub blocked in company then how to get it unblocked-
• What permissions Selec...
▬▬▬▬▬▬ KZfaq Playlists 🚀 ▬▬▬▬▬▬
SelectorsHub Tutorial ► bit.ly/SH_tutorials
XPath Tutorial Tutorial ► bit.ly/XPath_Tutorials
CSS Selectors Tutorial ► bit.ly/cssSelector_tutorial
▬▬▬▬▬▬ SelectorsHub Sponsor 👋 ▬▬▬▬▬▬
TestProject ► bit.ly/Sh_TestProject
▬▬▬▬▬▬ Follow SelectorsHub 👋 ▬▬▬▬▬▬
Don't forget to subscribe ► bit.ly/SelectorsHub_KZfaq
TWITTER ► / selectorshub
LINKEDIN ► / selectorshub
Join Slack ► bit.ly/SH_Slack
▬▬▬▬▬▬ Connect with me 👋 ▬▬▬▬▬▬
Don't forget to subscribe ► bit.ly/SelectorsHub_KZfaq
TWITTER ► / sanjaykumaarr
LINKEDIN ► / chropath-creator
#selectorshub #iframe #xpathtool

Пікірлер: 6
@user-vg6ms3ho2k
@user-vg6ms3ho2k Ай бұрын
Thank You Sanjay!
@dhirajmishra5915
@dhirajmishra5915 2 жыл бұрын
Do we need to switch to the frame before using the relative XPATH generated by selecctorhub for cross-origin .
@SelectorsHub
@SelectorsHub 2 жыл бұрын
Yes ofcourse that you will have to do. That handling logic will be same.
@razorback6996
@razorback6996 2 жыл бұрын
Hi, So my selector falls under a class that constantly changes. For example, //*[@id="e550965ec3_mtk6ndq6ntk"]. I like to generally make them generic, so it changes when the class changes. For example, I prefer to use //*[text()='Click here']. However, I dont know how to do it in the iFrame. I dont see these instructions you gave helping me unless I am missing something. When i use right click, it gives me //input[@id='phonenumber[objectobject]__input'], but my bot cant use it because its in an and requires additional tags.
@razorback6996
@razorback6996 2 жыл бұрын
>XPATH> id("02116667b5_mtk6mzm6mta")>FRAME> >XPATH> id("phonenumber[objectobject]__input"), my bot pulls the selector as this. It's this id("02116667b5_mtk6mzm6mta") that i want to avoid because its dynamic
@SelectorsHub
@SelectorsHub 2 жыл бұрын
@@razorback6996 you can generate xpath from SelectorsHub tab. There you will get more options to generate xpath with desired attribute and text. Please watch the detail tutorial of SelectorsHub. You can also join my training to learn more about xpath and SelectorsHub.
How to handle Shadow DOM inside iframe | Q&A Session
25:41
SelectorsHub
Рет қаралды 1,5 М.
A little girl was shy at her first ballet lesson #shorts
00:35
Fabiosa Animated
Рет қаралды 16 МЛН
Я обещал подарить ему самокат!
01:00
Vlad Samokatchik
Рет қаралды 9 МЛН
Fast and Furious: New Zealand 🚗
00:29
How Ridiculous
Рет қаралды 44 МЛН
Why The Windows Phone Failed
24:08
Apple Explained
Рет қаралды 180 М.
How To Inspect Hidden / Disappeared Elements In Just One Click
8:52
Naveen AutomationLabs
Рет қаралды 51 М.
How To Handle Frames and IFrames In Playwright
13:13
Mukesh otwani
Рет қаралды 3,8 М.
Cypress Cross Origin Testing + BIG Cypress 12 updates
8:32
CommitQuality
Рет қаралды 4,3 М.
Проверил, как вам?
0:58
Коннор
Рет қаралды 303 М.
Look, this is the 97th generation of the phone?
0:13
Edcers
Рет қаралды 8 МЛН
Vision Pro наконец-то доработали! Но не Apple!
0:40
ÉЖИ АКСЁНОВ
Рет қаралды 248 М.