Skip to content

Commit 31b36cc

Browse files
committed
Change the documentation for mobile device metrics
1 parent 47df4a5 commit 31b36cc

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

examples/test_skype_site.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
55
Default mobile settings for User Agent and Device Metrics if not specified:
66
User Agent: --agent="Mozilla/5.0 (Linux; Android 11; Pixel 4 XL)"
7-
CSS Width, CSS Height, Pixel-Ratio: --metrics="411,731,3"
7+
CSS Width, CSS Height, Pixel-Ratio: --metrics="360,640,2"
88
"""
99
from seleniumbase import BaseCase
1010

help_docs/customizing_test_runs.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -69,7 +69,7 @@ pytest user_agent_test.py --agent="USER-AGENT-STRING"
6969
pytest test_swag_labs.py --mobile
7070

7171
# Run mobile tests specifying CSS Width, CSS Height, and Pixel-Ratio
72-
pytest test_swag_labs.py --mobile --metrics="411,731,3"
72+
pytest test_swag_labs.py --mobile --metrics="360,640,2"
7373

7474
# Run tests while changing SeleniumBase default settings
7575
pytest my_first_test.py --settings-file=custom_settings.py

help_docs/mobile_testing.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -53,7 +53,7 @@ pytest test_swag_labs.py --mobile
5353
pytest test_swag_labs.py --mobile
5454

5555
# Run mobile tests specifying CSS Width, CSS Height, and Pixel-Ratio
56-
pytest test_swag_labs.py --mobile --metrics="411,731,3"
56+
pytest test_swag_labs.py --mobile --metrics="360,640,2"
5757

5858
# Run mobile tests specifying the user agent
5959
pytest test_swag_labs.py --mobile --agent="Mozilla/5.0 (Linux; Android 9; Pixel 3 XL)"

0 commit comments

Comments
 (0)