Skip to content

How to set mobile metrics on raw driver #3300

Answered by mdmintz
bshsbr asked this question in Q&A
Discussion options

You must be logged in to vote

Here's an example of setting mobile metrics with the Driver() format:

from seleniumbase import Driver

driver = Driver(mobile=True, d_width=360, d_height=640, d_p_r=2)

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by mdmintz
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants