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

Add option to select which browser playwright uses #1129

Merged
merged 3 commits into from
Apr 12, 2024

Conversation

willmhowes
Copy link
Contributor

This addition is purely motivated by the fact that I was able to circumvent the #1116 headless mode error by using firefox instead of the default chromium browser which currently throws errors. I am new the project and don't know the motivations behind using chromium as the default, which does still work in headed mode, so I added the option to select the browser rather than changing any default behavior.

My testing has been limited, but I haven't found any library behavior broken by using firefox instead of chromium.

Copy link

sonarcloud bot commented Apr 6, 2024

Quality Gate Passed Quality Gate passed

Issues
0 New issues
0 Accepted issues

Measures
0 Security Hotspots
No data about Coverage
No data about Duplication

See analysis details on SonarCloud

@davidteather davidteather changed the base branch from main to 6.3.0 April 12, 2024 17:12
@davidteather
Copy link
Owner

LGTM

@davidteather davidteather merged commit d17ef64 into davidteather:6.3.0 Apr 12, 2024
davidteather added a commit that referenced this pull request Apr 12, 2024
* Add 'executable_path' field to the 'api.create_sessions()' method (#1136)
* Fixed retries loop (#1133)
* Add option to select which browser playwright uses (#1129)
* add browser selection option to create_sessions method
* fix spelling typo

---------

Co-authored-by: David Teather <34144122+davidteather@users.noreply.github.com>

* Update hashtag.py (#1126)

TikTok appears to have limited the number of posts that can be returned for a single hashtag search to 35 (e.g. bellingcat/tiktok-hashtag-analysis#28).

Similar to how the `User.liked` method works, I set the batch size to 35 videos per request.

* add executable path to str

* bump ver

---------

Co-authored-by: kkordik <99617240+Kkordik@users.noreply.github.com>
Co-authored-by: ekorian <korian.edeline@gmail.com>
Co-authored-by: Will Howes <39531537+willmhowes@users.noreply.github.com>
Co-authored-by: Tristan Lee <tristan@bellingcat.com>
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