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

fix(selenium): fix verbose mode with await #10

Merged
merged 1 commit into from
Feb 18, 2025
Merged

fix(selenium): fix verbose mode with await #10

merged 1 commit into from
Feb 18, 2025

Conversation

timmywil
Copy link
Member

@timmywil timmywil commented Feb 18, 2025

  • the selenium types are wrong here. getCapabilities is async. the driver var type doesn't update between assignments.
  • added -v to the jquery tests so the code path is hit

I noticed this when updating jtr in jquery.

- the types didn't update between driver var assignments
- added -v to the jquery tests to the path is hit
@timmywil
Copy link
Member Author

I went to add a PR to the selenium types and noticed they were correct. I realized driver is getting set twice, but assuming the type of only the first assignment. Only assigning driver once gets the right type.

@timmywil timmywil merged commit 75b37c4 into main Feb 18, 2025
4 checks passed
@timmywil timmywil deleted the verbose branch February 18, 2025 15:07
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