Skip to content

Add "sbase" shortcuts for "seleniumbase" #1581

@mdmintz

Description

@mdmintz

Add sbase shortcuts for seleniumbase

If you type seleniumbase all day long, then this enhancement is for you: You might be able to type sbase instead to achieve the same goal, which is 7-characters shorter than seleniumbase.

Examples with the short form:

from sbase import BaseCase

from sbase import SB

from sbase import Driver

Here's the current, longer form:

from seleniumbase import BaseCase

from seleniumbase import SB

from seleniumbase import Driver

If you're not yet familiar with the SB context manager or the SeleniumBase Driver manager (which are relatively new), see https://github.com/seleniumbase/SeleniumBase/blob/master/help_docs/syntax_formats.md

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions