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

Implement Get Current Tab #66

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open

Conversation

ChrstnAnsl
Copy link

The problem arises because the automation framework is unable to detect the transition to the new page, resulting in subsequent methods failing due to the automation still referencing elements from the previous page, as the document context has not updated to the new tab. This issue typically occurs when the automation tool fails to synchronize with the browser's tab switching mechanism, causing a disconnect between the expected page state and the actual page state within the automation workflow.

And there's no mechanism to get the current_tab. So I added a fix here self._tabs[activated_tab_id] this can used as an alternative method but it's still more competent if we have a built-in method for getting the current_tab

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant