Skip to content

Commit 7ac0afc

Browse files
committed
Practice the dynamic list's results
1 parent 3ad9294 commit 7ac0afc

File tree

2 files changed

+145
-0
lines changed

2 files changed

+145
-0
lines changed

Practice/geckodriver.log

Lines changed: 124 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,124 @@
1+
1715264208173 geckodriver INFO Listening on 127.0.0.1:62061
2+
1715264211271 mozrunner::runner INFO Running command: "C:\\Program Files\\Mozilla Firefox\\firefox.exe" "--marionette" "--remote-debugging-port" "62062" "--remote-allow-hosts" "localhost" "-no-remote" "-profile" "C:\\Users\\HP\\AppData\\Local\\Temp\\rust_mozprofilehp7Faz"
3+
console.warn: services.settings: Ignoring preference override of remote settings server
4+
console.warn: services.settings: Allow by setting MOZ_REMOTE_SETTINGS_DEVTOOLS=1 in the environment
5+
1715264212083 Marionette INFO Marionette enabled
6+
Dynamically enable window occlusion 0
7+
1715264212187 Marionette INFO Listening on port 62074
8+
WebDriver BiDi listening on ws://127.0.0.1:62062
9+
Read port: 62074
10+
1715264212478 RemoteAgent WARN TLS certificate errors will be ignored for this session
11+
DevTools listening on ws://127.0.0.1:62062/devtools/browser/db52121d-432b-4c6e-8462-7a4b217d0f98
12+
1715264227468 Marionette INFO Stopped listening on port 62074
13+
Dynamically enable window occlusion 1
14+
1715264332429 geckodriver INFO Listening on 127.0.0.1:62166
15+
1715264335511 mozrunner::runner INFO Running command: "C:\\Program Files\\Mozilla Firefox\\firefox.exe" "--marionette" "--remote-debugging-port" "62167" "--remote-allow-hosts" "localhost" "-no-remote" "-profile" "C:\\Users\\HP\\AppData\\Local\\Temp\\rust_mozprofilepwvQTF"
16+
console.warn: services.settings: Ignoring preference override of remote settings server
17+
console.warn: services.settings: Allow by setting MOZ_REMOTE_SETTINGS_DEVTOOLS=1 in the environment
18+
1715264335928 Marionette INFO Marionette enabled
19+
Dynamically enable window occlusion 0
20+
1715264336008 Marionette INFO Listening on port 62175
21+
WebDriver BiDi listening on ws://127.0.0.1:62167
22+
Read port: 62175
23+
1715264336205 RemoteAgent WARN TLS certificate errors will be ignored for this session
24+
DevTools listening on ws://127.0.0.1:62167/devtools/browser/52586a50-91fb-4d42-92f3-d422dcb1bc95
25+
1715264354258 Marionette INFO Stopped listening on port 62175
26+
Dynamically enable window occlusion 1
27+
!!! error running onStopped callback: TypeError: callback is not a function
28+
1715264433313 geckodriver INFO Listening on 127.0.0.1:62251
29+
1715264436381 mozrunner::runner INFO Running command: "C:\\Program Files\\Mozilla Firefox\\firefox.exe" "--marionette" "--remote-debugging-port" "62252" "--remote-allow-hosts" "localhost" "-no-remote" "-profile" "C:\\Users\\HP\\AppData\\Local\\Temp\\rust_mozprofile18ZloD"
30+
console.warn: services.settings: Ignoring preference override of remote settings server
31+
console.warn: services.settings: Allow by setting MOZ_REMOTE_SETTINGS_DEVTOOLS=1 in the environment
32+
1715264436809 Marionette INFO Marionette enabled
33+
Dynamically enable window occlusion 0
34+
1715264436888 Marionette INFO Listening on port 62261
35+
WebDriver BiDi listening on ws://127.0.0.1:62252
36+
Read port: 62261
37+
1715264437113 RemoteAgent WARN TLS certificate errors will be ignored for this session
38+
DevTools listening on ws://127.0.0.1:62252/devtools/browser/867eb67d-b41e-4193-8821-2226cdcc793b
39+
1715264468673 addons.xpi ERROR System addon update list error SyntaxError: XMLHttpRequest.open: 'http://%(server)s/dummy-system-addons.xml' is not a valid URL.
40+
1715264478061 Marionette INFO Stopped listening on port 62261
41+
Dynamically enable window occlusion 1
42+
1715264893823 geckodriver INFO Listening on 127.0.0.1:62530
43+
1715264896896 mozrunner::runner INFO Running command: "C:\\Program Files\\Mozilla Firefox\\firefox.exe" "--marionette" "--remote-debugging-port" "62531" "--remote-allow-hosts" "localhost" "-no-remote" "-profile" "C:\\Users\\HP\\AppData\\Local\\Temp\\rust_mozprofileCGxfAD"
44+
console.warn: services.settings: Ignoring preference override of remote settings server
45+
console.warn: services.settings: Allow by setting MOZ_REMOTE_SETTINGS_DEVTOOLS=1 in the environment
46+
1715264897300 Marionette INFO Marionette enabled
47+
Dynamically enable window occlusion 0
48+
1715264897380 Marionette INFO Listening on port 62540
49+
WebDriver BiDi listening on ws://127.0.0.1:62531
50+
Read port: 62540
51+
1715264897580 RemoteAgent WARN TLS certificate errors will be ignored for this session
52+
DevTools listening on ws://127.0.0.1:62531/devtools/browser/d8b97d97-433b-4fbd-82e3-cebfe26ae675
53+
1715264916232 Marionette INFO Stopped listening on port 62540
54+
Dynamically enable window occlusion 1
55+
1715265108845 geckodriver INFO Listening on 127.0.0.1:62672
56+
1715265111916 mozrunner::runner INFO Running command: "C:\\Program Files\\Mozilla Firefox\\firefox.exe" "--marionette" "--remote-debugging-port" "62673" "--remote-allow-hosts" "localhost" "-no-remote" "-profile" "C:\\Users\\HP\\AppData\\Local\\Temp\\rust_mozprofileLWbDiJ"
57+
console.warn: services.settings: Ignoring preference override of remote settings server
58+
console.warn: services.settings: Allow by setting MOZ_REMOTE_SETTINGS_DEVTOOLS=1 in the environment
59+
1715265112345 Marionette INFO Marionette enabled
60+
Dynamically enable window occlusion 0
61+
1715265112430 Marionette INFO Listening on port 62681
62+
WebDriver BiDi listening on ws://127.0.0.1:62673
63+
Read port: 62681
64+
1715265112656 RemoteAgent WARN TLS certificate errors will be ignored for this session
65+
DevTools listening on ws://127.0.0.1:62673/devtools/browser/5ef333ab-68dd-490b-a46b-9de616b03550
66+
1715265142472 addons.xpi ERROR System addon update list error SyntaxError: XMLHttpRequest.open: 'http://%(server)s/dummy-system-addons.xml' is not a valid URL.
67+
1715265260762 Marionette INFO Stopped listening on port 62681
68+
Dynamically enable window occlusion 1
69+
ng command: "C:\\Program Files\\Mozilla Firefox\\firefox.exe" "--marionette" "--remote-debugging-port" "62783" "--remote-allow-hosts" "localhost" "-no-remote" "-profile" "C:\\Users\\HP\\AppData\\Local\\Temp\\rust_mozprofile4wEEbN"
70+
console.warn: services.settings: Ignoring preference override of remote settings server
71+
console.warn: services.settings: Allow by setting MOZ_REMOTE_SETTINGS_DEVTOOLS=1 in the environment
72+
1715265239284 Marionette INFO Marionette enabled
73+
Dynamically enable window occlusion 0
74+
1715265239366 Marionette INFO Listening on port 62791
75+
WebDriver BiDi listening on ws://127.0.0.1:62783
76+
Read port: 62791
77+
1715265239595 RemoteAgent WARN TLS certificate errors will be ignored for this session
78+
DevTools listening on ws://127.0.0.1:62783/devtools/browser/d3eb0970-ee75-4579-9f78-723d214a7917
79+
1715265259927 Marionette INFO Stopped listening on port 62791
80+
Dynamically enable window occlusion 1
81+
!!! error running onStopped callback: TypeError: callback is not a function
82+
1715265371385 geckodriver INFO Listening on 127.0.0.1:62892
83+
1715265374447 mozrunner::runner INFO Running command: "C:\\Program Files\\Mozilla Firefox\\firefox.exe" "--marionette" "--remote-debugging-port" "62893" "--remote-allow-hosts" "localhost" "-no-remote" "-profile" "C:\\Users\\HP\\AppData\\Local\\Temp\\rust_mozprofileYOAoUl"
84+
console.warn: services.settings: Ignoring preference override of remote settings server
85+
console.warn: services.settings: Allow by setting MOZ_REMOTE_SETTINGS_DEVTOOLS=1 in the environment
86+
1715265374823 Marionette INFO Marionette enabled
87+
Dynamically enable window occlusion 0
88+
1715265374905 Marionette INFO Listening on port 62902
89+
WebDriver BiDi listening on ws://127.0.0.1:62893
90+
Read port: 62902
91+
1715265375134 RemoteAgent WARN TLS certificate errors will be ignored for this session
92+
DevTools listening on ws://127.0.0.1:62893/devtools/browser/dcd8e33b-2ecf-4197-b3f4-528e6658790c
93+
1715265393929 Marionette INFO Stopped listening on port 62902
94+
Dynamically enable window occlusion 1
95+
1715265415336 geckodriver INFO Listening on 127.0.0.1:62960
96+
1715265418420 mozrunner::runner INFO Running command: "C:\\Program Files\\Mozilla Firefox\\firefox.exe" "--marionette" "--remote-debugging-port" "62961" "--remote-allow-hosts" "localhost" "-no-remote" "-profile" "C:\\Users\\HP\\AppData\\Local\\Temp\\rust_mozprofileQwSuwu"
97+
console.warn: services.settings: Ignoring preference override of remote settings server
98+
console.warn: services.settings: Allow by setting MOZ_REMOTE_SETTINGS_DEVTOOLS=1 in the environment
99+
1715265418878 Marionette INFO Marionette enabled
100+
Dynamically enable window occlusion 0
101+
1715265418995 Marionette INFO Listening on port 62970
102+
WebDriver BiDi listening on ws://127.0.0.1:62961
103+
Read port: 62970
104+
1715265419238 RemoteAgent WARN TLS certificate errors will be ignored for this session
105+
DevTools listening on ws://127.0.0.1:62961/devtools/browser/06bb7028-8cc0-466d-937a-dfa76857a928
106+
1715265448946 addons.xpi ERROR System addon update list error SyntaxError: XMLHttpRequest.open: 'http://%(server)s/dummy-system-addons.xml' is not a valid URL.
107+
1715265449557 Marionette INFO Stopped listening on port 62970
108+
Dynamically enable window occlusion 1
109+
console.warn: services.settings: blocklists/addons-bloomfilters sync interrupted by shutdown
110+
console.warn: services.settings: blocklists/gfx sync interrupted by shutdown
111+
console.warn: services.settings: main/normandy-recipes-capabilities sync interrupted by shutdown
112+
console.warn: services.settings: main/search-telemetry-v2 sync interrupted by shutdown
113+
console.warn: services.settings: main/search-config-v2 sync interrupted by shutdown
114+
console.warn: services.settings: main/fingerprinting-protection-overrides sync interrupted by shutdown
115+
console.warn: services.settings: main/devtools-compatibility-browsers sync interrupted by shutdown
116+
console.warn: services.settings: main/partitioning-exempt-urls sync interrupted by shutdown
117+
console.warn: services.settings: main/translations-wasm sync interrupted by shutdown
118+
console.warn: services.settings: main/search-config-overrides sync interrupted by shutdown
119+
console.warn: services.settings: main/search-config-overrides-v2 sync interrupted by shutdown
120+
console.warn: services.settings: main/translations-models sync interrupted by shutdown
121+
console.warn: services.settings: main/cookie-banner-rules-list sync interrupted by shutdown
122+
console.warn: services.settings: main/sites-classification sync interrupted by shutdown
123+
console.warn: services.settings: main/anti-tracking-url-decoration sync interrupted by shutdown
124+
console.error: (new AbortError("IndexedDB: main/public-suffix-list getLastModified() IndexedDB: execute() A request was aborted, for example through a call to IDBTransaction.abort.", "resource://services-settings/IDBHelpers.sys.mjs", 16))
Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,21 @@
1+
"""
2+
Go to the https://wp-eshop.ggeorgiou.work/ test e-shop,
3+
search a product in a dynamic search field,
4+
view all results
5+
"""
6+
import time
7+
from selenium import webdriver
8+
from selenium.webdriver.common.by import By
9+
10+
# Firefox webdriver
11+
fDriver = webdriver.Firefox()
12+
fDriver.get('https://wp-eshop.ggeorgiou.work/shop/')
13+
14+
fDriver.implicitly_wait(5)
15+
16+
# search term
17+
fDriver.find_element(By.XPATH, "(//input[@name='s'])[1]").send_keys('hoodie')
18+
19+
# view all results - BUG: The operation is broken.
20+
# The 'view results' link is not visible and you have to scroll the results window
21+
fDriver.find_element(By.CSS_SELECTOR, "aws_result_item aws_search_more").click()

0 commit comments

Comments
 (0)