Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 5 additions & 1 deletion examples/setup.cfg
Original file line number Diff line number Diff line change
@@ -1,9 +1,13 @@
[flake8]
# W503,W504 (line break before or after binary operators)
exclude=recordings,temp
ignore=W503,W504

[nosetests]
# This is the config file for default values used during nosetest runs
# nocapture=1 displays print statements from output. Undo this by using: --nologcapture
# logging-level=INFO keeps the logs much cleaner than using DEBUG
nocapture=1
logging-level=INFO

[bdist_wheel]
universal=1
2 changes: 1 addition & 1 deletion examples/wordle_test.py
Original file line number Diff line number Diff line change
Expand Up @@ -79,7 +79,7 @@ def test_wordle(self):
self.click(keyboard_base + button)
button = 'button[data-key="↵"]'
self.click(keyboard_base + button)
self.sleep(1) # Time for the animation
self.sleep(2) # Time for the animation
row = 'game-app::shadow game-row[letters="%s"]::shadow ' % word
tile = row + "game-tile:nth-of-type(%s)"
letter_status = []
Expand Down
5 changes: 3 additions & 2 deletions requirements.txt
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@ filelock==3.4.1;python_version>="3.6" and python_version<"3.7"
filelock==3.4.2;python_version>="3.7"
fasteners==0.16;python_version<"3.5"
fasteners==0.16.3;python_version>="3.5" and python_version<"3.6"
fasteners==0.17.2;python_version>="3.6"
fasteners==0.17.3;python_version>="3.6"
execnet==1.9.0
pluggy==0.13.1;python_version<"3.6"
pluggy==1.0.0;python_version>="3.6"
Expand Down Expand Up @@ -129,7 +129,8 @@ pdfminer.six==20211012;python_version>="3.6"
# ("pip install -r requirements.txt" also installs this, but "pip install -e ." won't.)

coverage==5.5;python_version<"3.6"
coverage==6.2;python_version>="3.6"
coverage==6.2;python_version>="3.6" and python_version<"3.7"
coverage==6.3;python_version>="3.7"
pytest-cov==2.12.1;python_version<"3.6"
pytest-cov==3.0.0;python_version>="3.6"
flake8==3.7.9;python_version<"3.5"
Expand Down
2 changes: 1 addition & 1 deletion seleniumbase/__version__.py
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
# seleniumbase package
__version__ = "2.4.1"
__version__ = "2.4.2"
26 changes: 13 additions & 13 deletions seleniumbase/core/jqc_helper.py
Original file line number Diff line number Diff line change
Expand Up @@ -240,19 +240,19 @@ def jquery_confirm_full_dialog(driver, message, buttons, options=None):
},"""
)
b1_html = (
"""formSubmit: {
btnClass: 'btn-%s',
text: '%s',
action: function(){
jqc_input = this.$content.find('.jqc_input').val();
$jqc_input = this.$content.find('.jqc_input').val();
jconfirm.lastInputText = jqc_input;
jqc_status = '%s';
$jqc_status = jqc_status;
jconfirm.lastButtonText = jqc_status;
}
},"""
)
"""formSubmit: {
btnClass: 'btn-%s',
text: '%s',
action: function(){
jqc_input = this.$content.find('.jqc_input').val();
$jqc_input = this.$content.find('.jqc_input').val();
jconfirm.lastInputText = jqc_input;
jqc_status = '%s';
$jqc_status = jqc_status;
jconfirm.lastButtonText = jqc_status;
}
},"""
)
one_button_trigger = ""
if len(buttons) == 1:
# If there's only one button, allow form submit with "Enter/Return"
Expand Down
Loading