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

Resolve problems discovered while testing on macOS (fixes #58) #59

Merged
merged 3 commits into from
Feb 9, 2025

Conversation

raycardillo
Copy link
Contributor

This PR resolves two issues I found when testing on macOS. See issue #58 for details.

  1. Updates to the scripts/test.sh so that it will work "out of the box" on macOS. I did this in a way that should not interfere with existing users and provides the pattern for solving the same problem if it might arise on other platforms in the future.
  2. The test in tests/bot_detection/test_browserscan.py does not wait long enough for the javascript to render the element in the DOM that the test is looking for. I added a small page.wait() that resolves this and now the tests pass consistently.

Copy link
Owner

@stephanlensky stephanlensky left a comment

Choose a reason for hiding this comment

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

I had to make two changes to get this to work properly on my machine, previously it was just printing:

Chrome version: google-chrome--version

scripts/test.sh Outdated Show resolved Hide resolved
scripts/test.sh Outdated Show resolved Hide resolved
@stephanlensky
Copy link
Owner

With those changes all seems to be working well though. Thank you for the submission 🙂

@stephanlensky stephanlensky merged commit 8a70b5e into stephanlensky:main Feb 9, 2025
@khamaileon
Copy link
Contributor

Fix it for me too, thank you.

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.

3 participants