SeleniumBase icon indicating copy to clipboard operation
SeleniumBase copied to clipboard

Adding type hints to SB context manager

Open Abdelgha-4 opened this issue 5 months ago • 0 comments

Related to #3167 and #3402.

This will have the same effect as:

from seleniumbase import SB, BaseCase

sb: BaseCase
with SB(...) as sb:
    ...

without having to explicitly type sb: BaseCase, enabling IntelliSense in editors. Before: image

After: image

Abdelgha-4 avatar Jun 02 '25 01:06 Abdelgha-4