From e1725627514d9d53c8535224efc1f5ebf7e7d20c Mon Sep 17 00:00:00 2001 From: Viktor Sidochenko Date: Wed, 3 Apr 2024 00:24:37 +0500 Subject: [PATCH] Update docs --- page-factory-doc/src/main/asciidoc/web_properties.asciidoc | 2 +- .../src/test/resources/config/application.properties-sample | 2 +- .../sbtqa/tag/pagefactory/web/properties/WebConfiguration.java | 3 +-- .../src/test/resources/config/application.properties-sample | 2 +- 4 files changed, 4 insertions(+), 5 deletions(-) diff --git a/page-factory-doc/src/main/asciidoc/web_properties.asciidoc b/page-factory-doc/src/main/asciidoc/web_properties.asciidoc index f9e423e3..5536e2ad 100644 --- a/page-factory-doc/src/main/asciidoc/web_properties.asciidoc +++ b/page-factory-doc/src/main/asciidoc/web_properties.asciidoc @@ -53,7 +53,7 @@ webdriver.browser.size = 1920x1080 webdriver.browser.path = src/test/resources/webdrivers/chromedriver.exe | Не задано -| webdriver.version +| webdriver.browser.version | Версия драйвера. Если указан этот параметр, то будет выполнена попытка автоматически найти соответствующую версию | Не задано diff --git a/plugins/html-plugin/src/test/resources/config/application.properties-sample b/plugins/html-plugin/src/test/resources/config/application.properties-sample index df98e34c..dff4063f 100644 --- a/plugins/html-plugin/src/test/resources/config/application.properties-sample +++ b/plugins/html-plugin/src/test/resources/config/application.properties-sample @@ -59,7 +59,7 @@ webdriver.nexus.url = http://your.nexus.repo.with.drivers.com/ webdriver.os.arch #optional. Forces to download this driver version if it is available. LATEST by default -webdriver.version = 2.35 +webdriver.browser.version = 2.35 #optional. The number of start attempts webdriver. 3 by default webdriver.create.attempts = 3 diff --git a/plugins/web-plugin/src/main/java/ru/sbtqa/tag/pagefactory/web/properties/WebConfiguration.java b/plugins/web-plugin/src/main/java/ru/sbtqa/tag/pagefactory/web/properties/WebConfiguration.java index 2ea8c60d..916f1699 100644 --- a/plugins/web-plugin/src/main/java/ru/sbtqa/tag/pagefactory/web/properties/WebConfiguration.java +++ b/plugins/web-plugin/src/main/java/ru/sbtqa/tag/pagefactory/web/properties/WebConfiguration.java @@ -37,7 +37,7 @@ public interface WebConfiguration extends Configuration { @DefaultValue("") String getDriversPath(); - @Key("webdriver.version") + @Key("webdriver.browser.version") @DefaultValue("") String getWebDriverVersion(); @@ -57,7 +57,6 @@ public interface WebConfiguration extends Configuration { @DefaultValue("") String getProxy(); - @Key("aspects.highlight.enabled") @DefaultValue("false") boolean isHighlightEnabled(); diff --git a/plugins/web-plugin/src/test/resources/config/application.properties-sample b/plugins/web-plugin/src/test/resources/config/application.properties-sample index 1b83d842..9ff9e576 100644 --- a/plugins/web-plugin/src/test/resources/config/application.properties-sample +++ b/plugins/web-plugin/src/test/resources/config/application.properties-sample @@ -41,7 +41,7 @@ webdriver.nexus.url = http://your.nexus.repo.with.drivers.com/ webdriver.os.arch #optional. Forces to download this driver version if it is available. LATEST by default -webdriver.version = 2.35 +webdriver.browser.version = 2.35 #optional. The number of start attempts webdriver. 3 by default webdriver.create.attempts = 3