Browser
This commit is contained in:
@@ -3,14 +3,14 @@ Library SeleniumLibrary
|
|||||||
|
|
||||||
*** Variables ***
|
*** Variables ***
|
||||||
${BROWSER} chrome
|
${BROWSER} chrome
|
||||||
${URL} https://automationplayground.com/crm/
|
${URL} https://automationplayground.com/crm/
|
||||||
|
|
||||||
*** Keywords ***
|
*** Keywords ***
|
||||||
Begin Web Test
|
Begin Web Test
|
||||||
# Crée un objet ChromeOptions côté Python (comme pour end-to-end & amazon)
|
# Crée un vrai ChromeOptions Python (comme pour end-to-end & amazon)
|
||||||
${options}= Evaluate sys.modules['selenium.webdriver'].ChromeOptions() sys, selenium.webdriver
|
${options}= Evaluate sys.modules['selenium.webdriver'].ChromeOptions() sys, selenium.webdriver
|
||||||
|
|
||||||
# ⚠️ Tous les arguments sont positionnels, PAS des "nom=valeur"
|
# ⚠️ Tous les arguments sont positionnels (pas de name=value)
|
||||||
Call Method ${options} add_argument --headless=new
|
Call Method ${options} add_argument --headless=new
|
||||||
Call Method ${options} add_argument --disable-dev-shm-usage
|
Call Method ${options} add_argument --disable-dev-shm-usage
|
||||||
Call Method ${options} add_argument --no-sandbox
|
Call Method ${options} add_argument --no-sandbox
|
||||||
|
|||||||
Reference in New Issue
Block a user