Update the docs
This commit is contained in:
parent
3bfa7ed196
commit
cd89abefaf
|
@ -405,7 +405,7 @@ SeleniumBase provides additional ``pytest`` command-line options for tests:
|
||||||
--locale=LOCALE_CODE # (Set the Language Locale Code for the web browser.)
|
--locale=LOCALE_CODE # (Set the Language Locale Code for the web browser.)
|
||||||
--start-page=URL # (The starting URL for the web browser when tests begin.)
|
--start-page=URL # (The starting URL for the web browser when tests begin.)
|
||||||
--archive-logs # (Archive old log files instead of deleting them.)
|
--archive-logs # (Archive old log files instead of deleting them.)
|
||||||
--time-limit=SECONDS # (Safely fail any test that exceeds the limit limit.)
|
--time-limit=SECONDS # (Safely fail any test that exceeds the time limit.)
|
||||||
--slow # (Slow down the automation. Faster than using Demo Mode.)
|
--slow # (Slow down the automation. Faster than using Demo Mode.)
|
||||||
--demo # (Slow down and visually see test actions as they occur.)
|
--demo # (Slow down and visually see test actions as they occur.)
|
||||||
--demo-sleep=SECONDS # (Set the wait time after Demo Mode actions.)
|
--demo-sleep=SECONDS # (Set the wait time after Demo Mode actions.)
|
||||||
|
|
|
@ -116,7 +116,7 @@ SeleniumBase provides additional ``pytest`` command-line options for tests:
|
||||||
--locale=LOCALE_CODE # (Set the Language Locale Code for the web browser.)
|
--locale=LOCALE_CODE # (Set the Language Locale Code for the web browser.)
|
||||||
--start-page=URL # (The starting URL for the web browser when tests begin.)
|
--start-page=URL # (The starting URL for the web browser when tests begin.)
|
||||||
--archive-logs # (Archive old log files instead of deleting them.)
|
--archive-logs # (Archive old log files instead of deleting them.)
|
||||||
--time-limit=SECONDS # (Safely fail any test that exceeds the limit limit.)
|
--time-limit=SECONDS # (Safely fail any test that exceeds the time limit.)
|
||||||
--slow # (Slow down the automation. Faster than using Demo Mode.)
|
--slow # (Slow down the automation. Faster than using Demo Mode.)
|
||||||
--demo # (Slow down and visually see test actions as they occur.)
|
--demo # (Slow down and visually see test actions as they occur.)
|
||||||
--demo-sleep=SECONDS # (Set the wait time after Demo Mode actions.)
|
--demo-sleep=SECONDS # (Set the wait time after Demo Mode actions.)
|
||||||
|
|
|
@ -1,5 +1,5 @@
|
||||||
# -*- coding: utf-8 -*-
|
# -*- coding: utf-8 -*-
|
||||||
""" This is the Nose plugin for setting a test environment and saving logs. """
|
""" This is the Nosetest plugin for setting base configuration and logging. """
|
||||||
|
|
||||||
import sys
|
import sys
|
||||||
import time
|
import time
|
||||||
|
@ -12,7 +12,7 @@ from seleniumbase.fixtures import constants, errors
|
||||||
|
|
||||||
class Base(Plugin):
|
class Base(Plugin):
|
||||||
"""
|
"""
|
||||||
This parser plugin includes the following command-line options for Nose:
|
This plugin adds the following command-line options to nosetests:
|
||||||
--env=ENV (Set the test env. Access with "self.env" in tests.)
|
--env=ENV (Set the test env. Access with "self.env" in tests.)
|
||||||
--data=DATA (Extra test data. Access with "self.data" in tests.)
|
--data=DATA (Extra test data. Access with "self.data" in tests.)
|
||||||
--var1=DATA (Extra test data. Access with "self.var1" in tests.)
|
--var1=DATA (Extra test data. Access with "self.var1" in tests.)
|
||||||
|
|
|
@ -37,7 +37,7 @@ def pytest_addoption(parser):
|
||||||
--locale=LOCALE_CODE (Set the Language Locale Code for the web browser.)
|
--locale=LOCALE_CODE (Set the Language Locale Code for the web browser.)
|
||||||
--start-page=URL (The starting URL for the web browser when tests begin.)
|
--start-page=URL (The starting URL for the web browser when tests begin.)
|
||||||
--archive-logs (Archive old log files instead of deleting them.)
|
--archive-logs (Archive old log files instead of deleting them.)
|
||||||
--time-limit=SECONDS (Safely fail any test that exceeds the limit limit.)
|
--time-limit=SECONDS (Safely fail any test that exceeds the time limit.)
|
||||||
--slow (Slow down the automation. Faster than using Demo Mode.)
|
--slow (Slow down the automation. Faster than using Demo Mode.)
|
||||||
--demo (Slow down and visually see test actions as they occur.)
|
--demo (Slow down and visually see test actions as they occur.)
|
||||||
--demo-sleep=SECONDS (Set the wait time after Demo Mode actions.)
|
--demo-sleep=SECONDS (Set the wait time after Demo Mode actions.)
|
||||||
|
|
|
@ -1,5 +1,5 @@
|
||||||
# -*- coding: utf-8 -*-
|
# -*- coding: utf-8 -*-
|
||||||
""" This is the nosetests Selenium plugin for test configuration. """
|
""" This is the Nosetest plugin for setting Selenium test configuration. """
|
||||||
|
|
||||||
import sys
|
import sys
|
||||||
from nose.plugins import Plugin
|
from nose.plugins import Plugin
|
||||||
|
@ -27,7 +27,7 @@ class SeleniumBrowser(Plugin):
|
||||||
--headed (Run tests with a GUI on Linux OS.)
|
--headed (Run tests with a GUI on Linux OS.)
|
||||||
--locale=LOCALE_CODE (Set the Language Locale Code for the web browser.)
|
--locale=LOCALE_CODE (Set the Language Locale Code for the web browser.)
|
||||||
--start-page=URL (The starting URL for the web browser when tests begin.)
|
--start-page=URL (The starting URL for the web browser when tests begin.)
|
||||||
--time-limit=SECONDS (Safely fail any test that exceeds the limit limit.)
|
--time-limit=SECONDS (Safely fail any test that exceeds the time limit.)
|
||||||
--slow (Slow down the automation. Faster than using Demo Mode.)
|
--slow (Slow down the automation. Faster than using Demo Mode.)
|
||||||
--demo (Slow down and visually see test actions as they occur.)
|
--demo (Slow down and visually see test actions as they occur.)
|
||||||
--demo-sleep=SECONDS (Set the wait time after Demo Mode actions.)
|
--demo-sleep=SECONDS (Set the wait time after Demo Mode actions.)
|
||||||
|
|
Loading…
Reference in New Issue