Skip to content

Commit

Permalink
fix: adding selenium typing
Browse files Browse the repository at this point in the history
  • Loading branch information
Brijeshkrishna committed Nov 29, 2024
1 parent 2cababd commit 710cd5c
Showing 1 changed file with 4 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -15,14 +15,15 @@
# specific language governing permissions and limitations
# under the License.

from typing import Tuple
from typing import Tuple, Union

from appium.webdriver.common.appiumby.AppiumBy import By as AppiumBy
from appium.webdriver.common.appiumby.AppiumBy import ByType
from appium.webdriver.common.appiumby.AppiumBy import ByType as AppiumByType
from selenium.webdriver.common.by import ByType as SeleniumByType


class FlutterFinder:
def __init__(self, using: ByType, value: str) -> None:
def __init__(self, using: Union[SeleniumByType, AppiumByType], value: str) -> None:
self.using = using
self.value = value

Expand Down

0 comments on commit 710cd5c

Please sign in to comment.