From dd553e08ddb6524085b910f66a240b370ec375bf Mon Sep 17 00:00:00 2001 From: Abhishek Malani Date: Sun, 22 Mar 2020 19:14:32 +0530 Subject: [PATCH] Updating page_loading_strategy.nl.md Updating page loading strategy for netherland --- .../content/webdriver/page_loading_strategy.nl.md | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/docs_source_files/content/webdriver/page_loading_strategy.nl.md b/docs_source_files/content/webdriver/page_loading_strategy.nl.md index 9022a325bfe8..b6dd6db66b88 100644 --- a/docs_source_files/content/webdriver/page_loading_strategy.nl.md +++ b/docs_source_files/content/webdriver/page_loading_strategy.nl.md @@ -61,7 +61,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;