Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Live / Debug mode: Detect iframes when using Selector picker #8380

Closed
sam-yh opened this issue Feb 18, 2025 · 1 comment
Closed

Live / Debug mode: Detect iframes when using Selector picker #8380

sam-yh opened this issue Feb 18, 2025 · 1 comment
Labels
TYPE: enhancement The accepted proposal for future implementation.

Comments

@sam-yh
Copy link

sam-yh commented Feb 18, 2025

What is your Scenario?

When making use of the live / debug mode selector picker, it currently cannot detect if a selector is nested within an iframe and will hence only suggest Selector paths that won't work when just directly applied in a script.

What are you suggesting?

Unclear how feasible this is (as manually, in code, we need to switch between iframe and mainWindow), but if there is a way for the picker to detect that the targeted element is within iframe, it would be great to at least have some hint about this. Ideally it could also suggest a selector for the iframe that has to be switched to first as well.

What alternatives have you considered?

No response

Additional context

No response

@sam-yh sam-yh added the TYPE: enhancement The accepted proposal for future implementation. label Feb 18, 2025
@testcafe-need-response-bot testcafe-need-response-bot bot added the STATE: Need response An issue that requires a response or attention from the team. label Feb 18, 2025
@Bayheck
Copy link
Collaborator

Bayheck commented Feb 20, 2025

Unfortunately, we cannot work on this enhancement at this time since we are currently focused on other tasks. We may reconsider this task priority in the future if demand for it increases. However, if you wish, you can make a PR with the described functionality. We will review and accept it if everything is OK.

@Bayheck Bayheck closed this as completed Feb 20, 2025
@Bayheck Bayheck removed the STATE: Need response An issue that requires a response or attention from the team. label Feb 20, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
TYPE: enhancement The accepted proposal for future implementation.
Projects
None yet
Development

No branches or pull requests

2 participants