Skip to content

Commit bb3e400

Browse files
committed
Firefox webdriver
1 parent e7ff37b commit bb3e400

File tree

3 files changed

+137
-0
lines changed

3 files changed

+137
-0
lines changed

1-UI-Elements/Xpath codes.txt

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
# Xpath - //tagname[@attribute='value'] -> //input[@type='submit']
2+
# CSS - tagname[attribute='value'] -> //input[@type='submit'], #id, .classname

1-UI-Elements/driver-browsers.py

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,18 @@
1+
from selenium import webdriver
2+
3+
"""
4+
#Using Chrome
5+
cDriver = webdriver.Chrome()
6+
cDriver.get('https://the-internet.herokuapp.com/')
7+
print('Site title:', cDriver.title)
8+
# cDriver.close()
9+
"""
10+
#TODO - Issue: Chrome closes automaticaly even though you don't close it by using code
11+
12+
"""
13+
"""
14+
# Using Firefox
15+
fDriver = webdriver.Firefox()
16+
fDriver.get('https://the-internet.herokuapp.com/')
17+
18+
# fDriver.close()

1-UI-Elements/geckodriver.log

Lines changed: 117 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,117 @@
1+
1702556453014 geckodriver INFO Listening on 127.0.0.1:57696
2+
1702556456059 mozrunner::runner INFO Running command: "C:\\Program Files\\Mozilla Firefox\\firefox.exe" "--marionette" "--remote-debugging-port" "57697" "--remote-allow-hosts" "localhost" "-no-remote" "-profile" "C:\\Users\\HP\\AppData\\Local\\Temp\\rust_mozprofile0KQ3z7"
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+
1702556456426 Marionette INFO Marionette enabled
6+
Dynamically enable window occlusion 0
7+
1702556456505 Marionette INFO Listening on port 57705
8+
WebDriver BiDi listening on ws://127.0.0.1:57697
9+
Read port: 57705
10+
1702556456722 RemoteAgent WARN TLS certificate errors will be ignored for this session
11+
DevTools listening on ws://127.0.0.1:57697/devtools/browser/a9557dfb-cb83-44ef-96c2-cdb3906c9cfb
12+
1702556476000 Marionette INFO Stopped listening on port 57705
13+
Dynamically enable window occlusion 1
14+
1702556513831 geckodriver INFO Listening on 127.0.0.1:57746
15+
1702556516900 mozrunner::runner INFO Running command: "C:\\Program Files\\Mozilla Firefox\\firefox.exe" "--marionette" "--remote-debugging-port" "57747" "--remote-allow-hosts" "localhost" "-no-remote" "-profile" "C:\\Users\\HP\\AppData\\Local\\Temp\\rust_mozprofileDCv2Gg"
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+
1702556517257 Marionette INFO Marionette enabled
19+
Dynamically enable window occlusion 0
20+
1702556517338 Marionette INFO Listening on port 57754
21+
Read port: 57754
22+
WebDriver BiDi listening on ws://127.0.0.1:57747
23+
1702556517416 RemoteAgent WARN TLS certificate errors will be ignored for this session
24+
DevTools listening on ws://127.0.0.1:57747/devtools/browser/29f1eef9-a1f2-4934-9c75-76168702c614
25+
1702556521198 Marionette INFO Stopped listening on port 57754
26+
Dynamically enable window occlusion 1
27+
1702556535010 geckodriver INFO Listening on 127.0.0.1:57789
28+
1702556538088 mozrunner::runner INFO Running command: "C:\\Program Files\\Mozilla Firefox\\firefox.exe" "--marionette" "--remote-debugging-port" "57790" "--remote-allow-hosts" "localhost" "-no-remote" "-profile" "C:\\Users\\HP\\AppData\\Local\\Temp\\rust_mozprofileiUuV0w"
29+
console.warn: services.settings: Ignoring preference override of remote settings server
30+
console.warn: services.settings: Allow by setting MOZ_REMOTE_SETTINGS_DEVTOOLS=1 in the environment
31+
1702556538463 Marionette INFO Marionette enabled
32+
Dynamically enable window occlusion 0
33+
1702556538543 Marionette INFO Listening on port 57797
34+
WebDriver BiDi listening on ws://127.0.0.1:57790
35+
Read port: 57797
36+
1702556538765 RemoteAgent WARN TLS certificate errors will be ignored for this session
37+
DevTools listening on ws://127.0.0.1:57790/devtools/browser/2b3d5ef1-2514-4dd5-8f41-38f4ed6e3355
38+
1702556555415 Marionette INFO Stopped listening on port 57797
39+
Dynamically enable window occlusion 1
40+
1702557103343 geckodriver INFO Listening on 127.0.0.1:57936
41+
1702557106412 mozrunner::runner INFO Running command: "C:\\Program Files\\Mozilla Firefox\\firefox.exe" "--marionette" "--remote-debugging-port" "57937" "--remote-allow-hosts" "localhost" "-no-remote" "-profile" "C:\\Users\\HP\\AppData\\Local\\Temp\\rust_mozprofileDKF5IV"
42+
console.warn: services.settings: Ignoring preference override of remote settings server
43+
console.warn: services.settings: Allow by setting MOZ_REMOTE_SETTINGS_DEVTOOLS=1 in the environment
44+
1702557106790 Marionette INFO Marionette enabled
45+
Dynamically enable window occlusion 0
46+
1702557106872 Marionette INFO Listening on port 57945
47+
WebDriver BiDi listening on ws://127.0.0.1:57937
48+
Read port: 57945
49+
1702557107091 RemoteAgent WARN TLS certificate errors will be ignored for this session
50+
DevTools listening on ws://127.0.0.1:57937/devtools/browser/3a807180-37c2-4cfe-9669-38cc2cb2010c
51+
1702557124400 Marionette INFO Stopped listening on port 57945
52+
Dynamically enable window occlusion 1
53+
1702557305081 geckodriver INFO Listening on 127.0.0.1:58003
54+
1702557308165 mozrunner::runner INFO Running command: "C:\\Program Files\\Mozilla Firefox\\firefox.exe" "--marionette" "--remote-debugging-port" "58004" "--remote-allow-hosts" "localhost" "-no-remote" "-profile" "C:\\Users\\HP\\AppData\\Local\\Temp\\rust_mozprofile5u32fs"
55+
console.warn: services.settings: Ignoring preference override of remote settings server
56+
console.warn: services.settings: Allow by setting MOZ_REMOTE_SETTINGS_DEVTOOLS=1 in the environment
57+
1702557308555 Marionette INFO Marionette enabled
58+
Dynamically enable window occlusion 0
59+
1702557308635 Marionette INFO Listening on port 58011
60+
WebDriver BiDi listening on ws://127.0.0.1:58004
61+
Read port: 58011
62+
1702557308863 RemoteAgent WARN TLS certificate errors will be ignored for this session
63+
DevTools listening on ws://127.0.0.1:58004/devtools/browser/3c7c9419-7958-4509-9967-608ac73a784d
64+
1702557316792 Marionette INFO Stopped listening on port 58011
65+
Dynamically enable window occlusion 1
66+
1702557333358 geckodriver INFO Listening on 127.0.0.1:58050
67+
1702557336439 mozrunner::runner INFO Running command: "C:\\Program Files\\Mozilla Firefox\\firefox.exe" "--marionette" "--remote-debugging-port" "58051" "--remote-allow-hosts" "localhost" "-no-remote" "-profile" "C:\\Users\\HP\\AppData\\Local\\Temp\\rust_mozprofileoVFneD"
68+
console.warn: services.settings: Ignoring preference override of remote settings server
69+
console.warn: services.settings: Allow by setting MOZ_REMOTE_SETTINGS_DEVTOOLS=1 in the environment
70+
1702557336833 Marionette INFO Marionette enabled
71+
Dynamically enable window occlusion 0
72+
1702557336914 Marionette INFO Listening on port 58058
73+
WebDriver BiDi listening on ws://127.0.0.1:58051
74+
Read port: 58058
75+
1702557337143 RemoteAgent WARN TLS certificate errors will be ignored for this session
76+
DevTools listening on ws://127.0.0.1:58051/devtools/browser/917a83cc-7c9f-4a19-9219-c68c9e1aa180
77+
1702557359424 Marionette INFO Stopped listening on port 58058
78+
Dynamically enable window occlusion 1
79+
1702557360680 geckodriver INFO Listening on 127.0.0.1:58098
80+
1702557363744 mozrunner::runner INFO Running command: "C:\\Program Files\\Mozilla Firefox\\firefox.exe" "--marionette" "--remote-debugging-port" "58099" "--remote-allow-hosts" "localhost" "-no-remote" "-profile" "C:\\Users\\HP\\AppData\\Local\\Temp\\rust_mozprofile4uus8J"
81+
console.warn: services.settings: Ignoring preference override of remote settings server
82+
console.warn: services.settings: Allow by setting MOZ_REMOTE_SETTINGS_DEVTOOLS=1 in the environment
83+
1702557364128 Marionette INFO Marionette enabled
84+
Dynamically enable window occlusion 0
85+
1702557364212 Marionette INFO Listening on port 58108
86+
WebDriver BiDi listening on ws://127.0.0.1:58099
87+
Read port: 58108
88+
1702557364433 RemoteAgent WARN TLS certificate errors will be ignored for this session
89+
DevTools listening on ws://127.0.0.1:58099/devtools/browser/22079af5-01a0-43a5-99b5-c70a474f0b48
90+
1702557394865 addons.xpi ERROR System addon update list error SyntaxError: XMLHttpRequest.open: 'http://%(server)s/dummy-system-addons.xml' is not a valid URL.
91+
1702557543510 Marionette INFO Stopped listening on port 58108
92+
Dynamically enable window occlusion 1
93+
ng command: "C:\\Program Files\\Mozilla Firefox\\firefox.exe" "--marionette" "--remote-debugging-port" "58157" "--remote-allow-hosts" "localhost" "-no-remote" "-profile" "C:\\Users\\HP\\AppData\\Local\\Temp\\rust_mozprofile5I0lhe"
94+
console.warn: services.settings: Ignoring preference override of remote settings server
95+
console.warn: services.settings: Allow by setting MOZ_REMOTE_SETTINGS_DEVTOOLS=1 in the environment
96+
1702557443842 Marionette INFO Marionette enabled
97+
Dynamically enable window occlusion 0
98+
1702557443921 Marionette INFO Listening on port 58164
99+
WebDriver BiDi listening on ws://127.0.0.1:58157
100+
Read port: 58164
101+
1702557444108 RemoteAgent WARN TLS certificate errors will be ignored for this session
102+
DevTools listening on ws://127.0.0.1:58157/devtools/browser/184ae527-cf9d-4c09-8c8c-d2f1fd130daf
103+
1702557461480 Marionette INFO Stopped listening on port 58164
104+
Dynamically enable window occlusion 1
105+
1702557546966 geckodriver INFO Listening on 127.0.0.1:58204
106+
1702557550037 mozrunner::runner INFO Running command: "C:\\Program Files\\Mozilla Firefox\\firefox.exe" "--marionette" "--remote-debugging-port" "58205" "--remote-allow-hosts" "localhost" "-no-remote" "-profile" "C:\\Users\\HP\\AppData\\Local\\Temp\\rust_mozprofilezQ5oIn"
107+
console.warn: services.settings: Ignoring preference override of remote settings server
108+
console.warn: services.settings: Allow by setting MOZ_REMOTE_SETTINGS_DEVTOOLS=1 in the environment
109+
1702557550395 Marionette INFO Marionette enabled
110+
Dynamically enable window occlusion 0
111+
1702557550473 Marionette INFO Listening on port 58212
112+
Read port: 58212
113+
WebDriver BiDi listening on ws://127.0.0.1:58205
114+
1702557550553 RemoteAgent WARN TLS certificate errors will be ignored for this session
115+
DevTools listening on ws://127.0.0.1:58205/devtools/browser/fa6353eb-05dd-4915-a967-de6db5d0b756
116+
1702557559855 Marionette INFO Stopped listening on port 58212
117+
Dynamically enable window occlusion 1

0 commit comments

Comments
 (0)