Skip to content

updated the DOM element selector for the new freedom site#2

Open
MikolajKawalec wants to merge 1 commit intoBooza1981:mainfrom
MikolajKawalec:main
Open

updated the DOM element selector for the new freedom site#2
MikolajKawalec wants to merge 1 commit intoBooza1981:mainfrom
MikolajKawalec:main

Conversation

@MikolajKawalec
Copy link
Copy Markdown

No description provided.

Copilot AI review requested due to automatic review settings February 24, 2026 10:19
Copy link
Copy Markdown

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

This pull request updates the login automation to handle changes in the Freedom website's DOM structure. The site now opens login in a new browser tab rather than on the same page, requiring additional window handling logic.

Changes:

  • Changed login button selector from By.LINK_TEXT to By.CSS_SELECTOR with class a.nav_link-login
  • Added logic to switch to the new login tab that opens when clicking the login button

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

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.

2 participants