#SelectorsHub: Still wasting time while finding element inside iframe or not?

preview_player
Показать описание

1. Just inspect the element if it will be inside iframe, SelectorsHub will show “in iframe” in the SelectorsHub tab.
2. To write the xpath/cssSelector for any element which is inside an iframe, just inspect that element and start typing.
3. To verify any selector (xpath or cssSelector) inside an iframe, first inspect any element inside that iframe in which you want to verify your selector then verify your selector.
Рекомендации по теме
Комментарии
Автор

This is good stuff. Sanjay, is there a way that I can pick up X-Path for all elements for a given UI page without the need of inspecting them individually?

amitmalhotra
Автор

I'm trying to get the title.
But in your video at 3:40 you explain why its doesn't work. Good job. Now I opened the main source and I'm able to use the tool.

walsayer