Many Selenium test examples begin like this:
from selenium import webdriver
driver = webdriver.Firefox()
driver.self.driver.get("some hardcoded url")
Is there way to avoid hardcoding urls into the test and somehow retreive domain name from the environment the test was launched in?
Aucun commentaire:
Enregistrer un commentaire