From 8bfde5be21b0a0b1c780c06fdc56a90e1b35d37b Mon Sep 17 00:00:00 2001 From: Abhishek Malani Date: Sun, 22 Mar 2020 19:07:52 +0530 Subject: [PATCH] updating page_loading_strategy.ja.md updating page loading strategy for japanese language --- .../content/webdriver/page_loading_strategy.ja.md | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/docs_source_files/content/webdriver/page_loading_strategy.ja.md b/docs_source_files/content/webdriver/page_loading_strategy.ja.md index 4078d19d410c..fdc6dd99927c 100644 --- a/docs_source_files/content/webdriver/page_loading_strategy.ja.md +++ b/docs_source_files/content/webdriver/page_loading_strategy.ja.md @@ -45,7 +45,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;