File tree Expand file tree Collapse file tree 2 files changed +22
-3
lines changed Expand file tree Collapse file tree 2 files changed +22
-3
lines changed Original file line number Diff line number Diff line change 426
426
"selectorData" : " historyMode" ,
427
427
"strategy" : " id" ,
428
428
"groups" : []
429
+ },
430
+
431
+ "manage-cookies-site" : {
432
+ "selectorData" : " richlistitem[host='{name}']" ,
433
+ "strategy" : " css" ,
434
+ "groups" : []
435
+ },
436
+
437
+ "remove-selected-button" : {
438
+ "selectorData" : " removeSelected" ,
439
+ "strategy" : " id" ,
440
+ "groups" : []
441
+ },
442
+
443
+ "remove-all-button" : {
444
+ "selectorData" : " removeAll" ,
445
+ "strategy" : " id" ,
446
+ "groups" : []
429
447
}
430
448
}
Original file line number Diff line number Diff line change
1
+ from time import sleep
2
+
1
3
import pytest
4
+ from pynput .keyboard import Controller , Key
2
5
from selenium .webdriver import Firefox
3
6
4
7
from modules .page_object import AboutPrefs
5
8
from modules .util import BrowserActions
6
- from pynput .keyboard import Controller , Key
7
- from time import sleep
8
9
9
10
COOKIE_SITE = "google.com"
10
11
@@ -79,4 +80,4 @@ def open_manage_cookies_data_dialog():
79
80
80
81
# All the cookies and site data are deleted.
81
82
cookie_list_post_remove = about_prefs .get_elements ("cookies-manage-data-sitelist" )
82
- assert len (cookie_list_post_remove ) == 1 # NOTE: always an empty item here
83
+ assert len (cookie_list_post_remove ) == 1 # NOTE: always an empty item here
You can’t perform that action at this time.
0 commit comments