From 24b0fc53c4f8d9da8c418043345ecdc4226048a2 Mon Sep 17 00:00:00 2001 From: Abhishek Malani Date: Sun, 22 Mar 2020 19:13:11 +0530 Subject: [PATCH 1/2] Updating page_loading_strategy.es.md Updating page loading strategy in spanish --- .../content/webdriver/page_loading_strategy.es.md | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/docs_source_files/content/webdriver/page_loading_strategy.es.md b/docs_source_files/content/webdriver/page_loading_strategy.es.md index 570de9c76390..a5f705538400 100644 --- a/docs_source_files/content/webdriver/page_loading_strategy.es.md +++ b/docs_source_files/content/webdriver/page_loading_strategy.es.md @@ -57,7 +57,14 @@ public class pageLoadStrategy { } {{< / code-panel >}} {{< code-panel language="python" >}} -# Please raise a PR +from selenium import webdriver +from selenium.webdriver.chrome.options import Options +options = Options() +options.page_load_strategy = 'normal' +driver = webdriver.Chrome(options=options) +# Navigate to url +driver.get("http://www.google.com") +driver.quit() {{< / code-panel >}} {{< code-panel language="c#" >}} using OpenQA.Selenium; From 6733da3422e623536a7536659dc5a2804dc46e84 Mon Sep 17 00:00:00 2001 From: Abhishek Malani Date: Sun, 22 Mar 2020 19:30:01 +0530 Subject: [PATCH 2/2] updating page_loading_strategy.es.md Nothing changed, travis build failed retriggering it. --- docs_source_files/content/webdriver/page_loading_strategy.es.md | 1 + 1 file changed, 1 insertion(+) diff --git a/docs_source_files/content/webdriver/page_loading_strategy.es.md b/docs_source_files/content/webdriver/page_loading_strategy.es.md index a5f705538400..c43058e671a1 100644 --- a/docs_source_files/content/webdriver/page_loading_strategy.es.md +++ b/docs_source_files/content/webdriver/page_loading_strategy.es.md @@ -65,6 +65,7 @@ driver = webdriver.Chrome(options=options) # Navigate to url driver.get("http://www.google.com") driver.quit() + {{< / code-panel >}} {{< code-panel language="c#" >}} using OpenQA.Selenium;