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

feat: Add browser context options for mobile simulation, geolocation, permissions and timezone settings #1058

Merged
merged 1 commit into from
Mar 23, 2025

Conversation

hao-cyber
Copy link
Contributor

  1. Documentation for new configuration options:
    is_mobile: For mobile viewport simulation
    has_touch: To enable touch events
    geolocation: For setting browser location
    permissions: For granting browser permissions
    timezone_id: For changing the browser timezone
  2. Adding these fields to the BrowserContextConfig dataclass with appropriate types
  3. Passing these configuration values to what appears to be a browser context creation function

@CLAassistant
Copy link

CLAassistant commented Mar 18, 2025

CLA assistant check
All committers have signed the CLA.

@hao-cyber
Copy link
Contributor Author

This can help with some mobile phone emulation.

@MagMueller MagMueller merged commit e143ca5 into browser-use:main Mar 23, 2025
1 check passed
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