This commit is contained in:
2025-11-20 16:19:13 +01:00
parent 69b5dcfc5a
commit c55349f56e

View File

@@ -3,14 +3,14 @@ Library SeleniumLibrary
*** Variables ***
${BROWSER} chrome
${URL} https://automationplayground.com/crm/
${URL} https://automationplayground.com/crm/
*** Keywords ***
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
# ⚠️ 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 --disable-dev-shm-usage
Call Method ${options} add_argument --no-sandbox