Update example tests
This commit is contained in:
parent
e866c95a57
commit
ed6f8cf859
|
@ -5,7 +5,7 @@ from seleniumbase import BaseCase
|
|||
class GoogleTests(BaseCase):
|
||||
@parameterized.expand(
|
||||
[
|
||||
["PyPI", "pypi.org", 'img[alt="PyPI"]'],
|
||||
["Download Python", "Download Python", "img.python-logo"],
|
||||
["Wikipedia", "www.wikipedia.org", "img.central-featured-logo"],
|
||||
["SeleniumBase GitHub.com", "SeleniumBase", 'img[title*="Sele"]'],
|
||||
]
|
||||
|
|
|
@ -24,7 +24,7 @@ class CanvasTests(BaseCase):
|
|||
rgb = self.get_pixel_colors()
|
||||
self.assert_equal(rgb, [221, 242, 231]) # Looks greenish
|
||||
self.click_with_offset("canvas", 500, 350)
|
||||
self.highlight("canvas")
|
||||
self.highlight("canvas", loops=5)
|
||||
rgb = self.get_pixel_colors()
|
||||
self.assert_equal(rgb, [39, 42, 56]) # Blue by hamburger
|
||||
|
||||
|
|
|
@ -34,7 +34,7 @@ class ChromedriverTests(BaseCase):
|
|||
print(message)
|
||||
if major_chromedriver_version < major_chrome_version:
|
||||
install_sb = (
|
||||
"seleniumbase install chromedriver %s" % major_chrome_version
|
||||
"seleniumbase get chromedriver %s" % major_chrome_version
|
||||
)
|
||||
pr_install_sb = c1 + install_sb + cr
|
||||
up_msg = "You may want to upgrade your version of chromedriver:"
|
||||
|
|
Loading…
Reference in New Issue