Hi Amy, In terms of lightness, both are light weight (under a MegaByte). SeleniumBase can do far more though: UI Testing, Visual Testing, Website walkthroughs, Charts, Presentations, etc. And the syntax when using the sb pytest fixture is very clean and flexible:
# "sb" pytest fixture test in a method with no class
deftest_sb_fixture_with_no_class(sb):sb.open("https://google.com/ncr")sb.type('input[title="Search"]','SeleniumBase\n')sb.click('a[href*="github.com/seleniumbase/SeleniumBase"]')sb.click('a[title="seleniumbase"]')# "sb" pytest fixture test in a method inside a class
classTest_SB_Fixture():deftest_sb_fixture_inside_class(self,sb):sb.open("https://google.com/ncr")sb.type('input[title="Search"]','SeleniumBase\n')sb.click('a[href*="github.com/seleniumbase/SeleniumBase"]')sb.click('a[title="examples"]')
Hi Amy, In terms of lightness, both are light weight (under a MegaByte). SeleniumBase can do far more though: UI Testing, Visual Testing, Website walkthroughs, Charts, Presentations, etc. And the syntax when using the
sb
pytest fixture is very clean and flexible:See seleniumbase.io/help_docs/features... for the list of features.