seleniumbase 4.33.11__tar.gz → 4.33.12__tar.gz
Sign up to get free protection for your applications and to get access to all the features.
- {seleniumbase-4.33.11/seleniumbase.egg-info → seleniumbase-4.33.12}/PKG-INFO +35 -16
- {seleniumbase-4.33.11 → seleniumbase-4.33.12}/README.md +27 -11
- {seleniumbase-4.33.11 → seleniumbase-4.33.12}/requirements.txt +7 -4
- seleniumbase-4.33.12/seleniumbase/__version__.py +2 -0
- {seleniumbase-4.33.11 → seleniumbase-4.33.12}/seleniumbase/core/log_helper.py +15 -2
- {seleniumbase-4.33.11 → seleniumbase-4.33.12}/seleniumbase/core/sb_cdp.py +84 -44
- {seleniumbase-4.33.11 → seleniumbase-4.33.12}/seleniumbase/fixtures/base_case.py +15 -2
- {seleniumbase-4.33.11 → seleniumbase-4.33.12}/seleniumbase/fixtures/page_actions.py +7 -2
- {seleniumbase-4.33.11 → seleniumbase-4.33.12/seleniumbase.egg-info}/PKG-INFO +35 -16
- {seleniumbase-4.33.11 → seleniumbase-4.33.12}/seleniumbase.egg-info/requires.txt +7 -4
- {seleniumbase-4.33.11 → seleniumbase-4.33.12}/setup.py +7 -4
- seleniumbase-4.33.11/seleniumbase/__version__.py +0 -2
- {seleniumbase-4.33.11 → seleniumbase-4.33.12}/.gitignore +0 -0
- {seleniumbase-4.33.11 → seleniumbase-4.33.12}/LICENSE +0 -0
- {seleniumbase-4.33.11 → seleniumbase-4.33.12}/MANIFEST.in +0 -0
- {seleniumbase-4.33.11 → seleniumbase-4.33.12}/examples/__init__.py +0 -0
- {seleniumbase-4.33.11 → seleniumbase-4.33.12}/examples/basic_test.py +0 -0
- {seleniumbase-4.33.11 → seleniumbase-4.33.12}/examples/behave_bdd/__init__.py +0 -0
- {seleniumbase-4.33.11 → seleniumbase-4.33.12}/examples/behave_bdd/features/__init__.py +0 -0
- {seleniumbase-4.33.11 → seleniumbase-4.33.12}/examples/behave_bdd/features/environment.py +0 -0
- {seleniumbase-4.33.11 → seleniumbase-4.33.12}/examples/behave_bdd/features/steps/__init__.py +0 -0
- {seleniumbase-4.33.11 → seleniumbase-4.33.12}/examples/behave_bdd/features/steps/calculator.py +0 -0
- {seleniumbase-4.33.11 → seleniumbase-4.33.12}/examples/behave_bdd/features/steps/fail_page.py +0 -0
- {seleniumbase-4.33.11 → seleniumbase-4.33.12}/examples/behave_bdd/features/steps/imported.py +0 -0
- {seleniumbase-4.33.11 → seleniumbase-4.33.12}/examples/behave_bdd/features/steps/swag_labs.py +0 -0
- {seleniumbase-4.33.11 → seleniumbase-4.33.12}/examples/boilerplates/__init__.py +0 -0
- {seleniumbase-4.33.11 → seleniumbase-4.33.12}/examples/boilerplates/base_test_case.py +0 -0
- {seleniumbase-4.33.11 → seleniumbase-4.33.12}/examples/boilerplates/boilerplate_test.py +0 -0
- {seleniumbase-4.33.11 → seleniumbase-4.33.12}/examples/boilerplates/classic_obj_test.py +0 -0
- {seleniumbase-4.33.11 → seleniumbase-4.33.12}/examples/boilerplates/page_objects.py +0 -0
- {seleniumbase-4.33.11 → seleniumbase-4.33.12}/examples/boilerplates/samples/__init__.py +0 -0
- {seleniumbase-4.33.11 → seleniumbase-4.33.12}/examples/boilerplates/samples/file_parsing/__init__.py +0 -0
- {seleniumbase-4.33.11 → seleniumbase-4.33.12}/examples/boilerplates/samples/file_parsing/parse_files.py +0 -0
- {seleniumbase-4.33.11 → seleniumbase-4.33.12}/examples/boilerplates/samples/google_objects.py +0 -0
- {seleniumbase-4.33.11 → seleniumbase-4.33.12}/examples/boilerplates/samples/google_test.py +0 -0
- {seleniumbase-4.33.11 → seleniumbase-4.33.12}/examples/boilerplates/samples/sb_swag_test.py +0 -0
- {seleniumbase-4.33.11 → seleniumbase-4.33.12}/examples/boilerplates/samples/swag_labs_test.py +0 -0
- {seleniumbase-4.33.11 → seleniumbase-4.33.12}/examples/boilerplates/samples/test_page_objects.py +0 -0
- {seleniumbase-4.33.11 → seleniumbase-4.33.12}/examples/boilerplates/sb_fixture_test.py +0 -0
- {seleniumbase-4.33.11 → seleniumbase-4.33.12}/examples/capabilities/mac_cap_file.py +0 -0
- {seleniumbase-4.33.11 → seleniumbase-4.33.12}/examples/capabilities/sample_cap_file_BS.py +0 -0
- {seleniumbase-4.33.11 → seleniumbase-4.33.12}/examples/capabilities/sample_cap_file_SL.py +0 -0
- {seleniumbase-4.33.11 → seleniumbase-4.33.12}/examples/capabilities/selenoid_cap_file.py +0 -0
- {seleniumbase-4.33.11 → seleniumbase-4.33.12}/examples/capabilities/win10_cap_file.py +0 -0
- {seleniumbase-4.33.11 → seleniumbase-4.33.12}/examples/chart_maker/chart_presentation.py +0 -0
- {seleniumbase-4.33.11 → seleniumbase-4.33.12}/examples/chart_maker/my_chart.py +0 -0
- {seleniumbase-4.33.11 → seleniumbase-4.33.12}/examples/chart_maker/pie_charts.py +0 -0
- {seleniumbase-4.33.11 → seleniumbase-4.33.12}/examples/chart_maker/test_area_chart.py +0 -0
- {seleniumbase-4.33.11 → seleniumbase-4.33.12}/examples/chart_maker/test_display_chart.py +0 -0
- {seleniumbase-4.33.11 → seleniumbase-4.33.12}/examples/chart_maker/test_line_chart.py +0 -0
- {seleniumbase-4.33.11 → seleniumbase-4.33.12}/examples/chart_maker/test_multi_series.py +0 -0
- {seleniumbase-4.33.11 → seleniumbase-4.33.12}/examples/chart_maker/test_save_chart.py +0 -0
- {seleniumbase-4.33.11 → seleniumbase-4.33.12}/examples/coffee_cart_tests.py +0 -0
- {seleniumbase-4.33.11 → seleniumbase-4.33.12}/examples/custom_settings.py +0 -0
- {seleniumbase-4.33.11 → seleniumbase-4.33.12}/examples/desktop_apps/recorder.py +0 -0
- {seleniumbase-4.33.11 → seleniumbase-4.33.12}/examples/dialog_boxes/dialog_box_tour.py +0 -0
- {seleniumbase-4.33.11 → seleniumbase-4.33.12}/examples/edge_test.py +0 -0
- {seleniumbase-4.33.11 → seleniumbase-4.33.12}/examples/github_test.py +0 -0
- {seleniumbase-4.33.11 → seleniumbase-4.33.12}/examples/gui_test_runner.py +0 -0
- {seleniumbase-4.33.11 → seleniumbase-4.33.12}/examples/hack_the_planet.py +0 -0
- {seleniumbase-4.33.11 → seleniumbase-4.33.12}/examples/handle_alert_test.py +0 -0
- {seleniumbase-4.33.11 → seleniumbase-4.33.12}/examples/iframe_tests.py +0 -0
- {seleniumbase-4.33.11 → seleniumbase-4.33.12}/examples/locale_code_test.py +0 -0
- {seleniumbase-4.33.11 → seleniumbase-4.33.12}/examples/master_qa/__init__.py +0 -0
- {seleniumbase-4.33.11 → seleniumbase-4.33.12}/examples/master_qa/basic_masterqa_test_0.py +0 -0
- {seleniumbase-4.33.11 → seleniumbase-4.33.12}/examples/master_qa/masterqa_test_1.py +0 -0
- {seleniumbase-4.33.11 → seleniumbase-4.33.12}/examples/migration/__init__.py +0 -0
- {seleniumbase-4.33.11 → seleniumbase-4.33.12}/examples/migration/protractor/__init__.py +0 -0
- {seleniumbase-4.33.11 → seleniumbase-4.33.12}/examples/migration/protractor/example_test.py +0 -0
- {seleniumbase-4.33.11 → seleniumbase-4.33.12}/examples/migration/protractor/input_test.py +0 -0
- {seleniumbase-4.33.11 → seleniumbase-4.33.12}/examples/migration/protractor/mat_paginator_test.py +0 -0
- {seleniumbase-4.33.11 → seleniumbase-4.33.12}/examples/migration/raw_selenium/__init__.py +0 -0
- {seleniumbase-4.33.11 → seleniumbase-4.33.12}/examples/migration/raw_selenium/flaky_messy_raw.py +0 -0
- {seleniumbase-4.33.11 → seleniumbase-4.33.12}/examples/migration/raw_selenium/long_messy_raw.py +0 -0
- {seleniumbase-4.33.11 → seleniumbase-4.33.12}/examples/migration/raw_selenium/messy_raw.py +0 -0
- {seleniumbase-4.33.11 → seleniumbase-4.33.12}/examples/migration/raw_selenium/refined_raw.py +0 -0
- {seleniumbase-4.33.11 → seleniumbase-4.33.12}/examples/migration/raw_selenium/simple_sbase.py +0 -0
- {seleniumbase-4.33.11 → seleniumbase-4.33.12}/examples/my_first_test.py +0 -0
- {seleniumbase-4.33.11 → seleniumbase-4.33.12}/examples/nth_child_test.py +0 -0
- {seleniumbase-4.33.11 → seleniumbase-4.33.12}/examples/offline_examples/__init__.py +0 -0
- {seleniumbase-4.33.11 → seleniumbase-4.33.12}/examples/offline_examples/load_html_test.py +0 -0
- {seleniumbase-4.33.11 → seleniumbase-4.33.12}/examples/offline_examples/test_demo_page.py +0 -0
- {seleniumbase-4.33.11 → seleniumbase-4.33.12}/examples/offline_examples/test_extended_driver.py +0 -0
- {seleniumbase-4.33.11 → seleniumbase-4.33.12}/examples/offline_examples/test_handle_alerts.py +0 -0
- {seleniumbase-4.33.11 → seleniumbase-4.33.12}/examples/offline_examples/test_request_fixture.py +0 -0
- {seleniumbase-4.33.11 → seleniumbase-4.33.12}/examples/offline_examples/test_user_agent.py +0 -0
- {seleniumbase-4.33.11 → seleniumbase-4.33.12}/examples/old_wordle_script.py +0 -0
- {seleniumbase-4.33.11 → seleniumbase-4.33.12}/examples/parameterized_test.py +0 -0
- {seleniumbase-4.33.11 → seleniumbase-4.33.12}/examples/performance_test.py +0 -0
- {seleniumbase-4.33.11 → seleniumbase-4.33.12}/examples/presenter/core_presentation.py +0 -0
- {seleniumbase-4.33.11 → seleniumbase-4.33.12}/examples/presenter/edge_presentation.py +0 -0
- {seleniumbase-4.33.11 → seleniumbase-4.33.12}/examples/presenter/fundamentals.py +0 -0
- {seleniumbase-4.33.11 → seleniumbase-4.33.12}/examples/presenter/multi_uc.py +0 -0
- {seleniumbase-4.33.11 → seleniumbase-4.33.12}/examples/presenter/my_presentation.py +0 -0
- {seleniumbase-4.33.11 → seleniumbase-4.33.12}/examples/presenter/py_virtual_envs.py +0 -0
- {seleniumbase-4.33.11 → seleniumbase-4.33.12}/examples/presenter/uc_presentation.py +0 -0
- {seleniumbase-4.33.11 → seleniumbase-4.33.12}/examples/presenter/uc_presentation_3.py +0 -0
- {seleniumbase-4.33.11 → seleniumbase-4.33.12}/examples/proxy_test.py +0 -0
- {seleniumbase-4.33.11 → seleniumbase-4.33.12}/examples/rate_limiting_test.py +0 -0
- {seleniumbase-4.33.11 → seleniumbase-4.33.12}/examples/raw_ahrefs.py +0 -0
- {seleniumbase-4.33.11 → seleniumbase-4.33.12}/examples/raw_antibot_login.py +0 -0
- {seleniumbase-4.33.11 → seleniumbase-4.33.12}/examples/raw_bing_captcha.py +0 -0
- {seleniumbase-4.33.11 → seleniumbase-4.33.12}/examples/raw_block.py +0 -0
- {seleniumbase-4.33.11 → seleniumbase-4.33.12}/examples/raw_brotector_captcha.py +0 -0
- {seleniumbase-4.33.11 → seleniumbase-4.33.12}/examples/raw_call.py +0 -0
- {seleniumbase-4.33.11 → seleniumbase-4.33.12}/examples/raw_cdp_logging.py +0 -0
- {seleniumbase-4.33.11 → seleniumbase-4.33.12}/examples/raw_cf.py +0 -0
- {seleniumbase-4.33.11 → seleniumbase-4.33.12}/examples/raw_cookies.py +0 -0
- {seleniumbase-4.33.11 → seleniumbase-4.33.12}/examples/raw_detection.py +0 -0
- {seleniumbase-4.33.11 → seleniumbase-4.33.12}/examples/raw_driver_context.py +0 -0
- {seleniumbase-4.33.11 → seleniumbase-4.33.12}/examples/raw_driver_manager.py +0 -0
- {seleniumbase-4.33.11 → seleniumbase-4.33.12}/examples/raw_file_call.py +0 -0
- {seleniumbase-4.33.11 → seleniumbase-4.33.12}/examples/raw_form_turnstile.py +0 -0
- {seleniumbase-4.33.11 → seleniumbase-4.33.12}/examples/raw_games.py +0 -0
- {seleniumbase-4.33.11 → seleniumbase-4.33.12}/examples/raw_gui_click.py +0 -0
- {seleniumbase-4.33.11 → seleniumbase-4.33.12}/examples/raw_hobbit.py +0 -0
- {seleniumbase-4.33.11 → seleniumbase-4.33.12}/examples/raw_login_context.py +0 -0
- {seleniumbase-4.33.11 → seleniumbase-4.33.12}/examples/raw_login_driver.py +0 -0
- {seleniumbase-4.33.11 → seleniumbase-4.33.12}/examples/raw_login_sb.py +0 -0
- {seleniumbase-4.33.11 → seleniumbase-4.33.12}/examples/raw_main_call.py +0 -0
- {seleniumbase-4.33.11 → seleniumbase-4.33.12}/examples/raw_mobile.py +0 -0
- {seleniumbase-4.33.11 → seleniumbase-4.33.12}/examples/raw_multi_drivers.py +0 -0
- {seleniumbase-4.33.11 → seleniumbase-4.33.12}/examples/raw_nopecha.py +0 -0
- {seleniumbase-4.33.11 → seleniumbase-4.33.12}/examples/raw_order_tickets.py +0 -0
- {seleniumbase-4.33.11 → seleniumbase-4.33.12}/examples/raw_parameter_script.py +0 -0
- {seleniumbase-4.33.11 → seleniumbase-4.33.12}/examples/raw_performance_logs.py +0 -0
- {seleniumbase-4.33.11 → seleniumbase-4.33.12}/examples/raw_pixelscan.py +0 -0
- {seleniumbase-4.33.11 → seleniumbase-4.33.12}/examples/raw_pyautogui.py +0 -0
- {seleniumbase-4.33.11 → seleniumbase-4.33.12}/examples/raw_recaptcha.py +0 -0
- {seleniumbase-4.33.11 → seleniumbase-4.33.12}/examples/raw_robot.py +0 -0
- {seleniumbase-4.33.11 → seleniumbase-4.33.12}/examples/raw_sb.py +0 -0
- {seleniumbase-4.33.11 → seleniumbase-4.33.12}/examples/raw_test_scripts.py +0 -0
- {seleniumbase-4.33.11 → seleniumbase-4.33.12}/examples/raw_turnstile.py +0 -0
- {seleniumbase-4.33.11 → seleniumbase-4.33.12}/examples/raw_uc_mode.py +0 -0
- {seleniumbase-4.33.11 → seleniumbase-4.33.12}/examples/sb_fixture_tests.py +0 -0
- {seleniumbase-4.33.11 → seleniumbase-4.33.12}/examples/shadow_root_test.py +0 -0
- {seleniumbase-4.33.11 → seleniumbase-4.33.12}/examples/swag_labs_user_tests.py +0 -0
- {seleniumbase-4.33.11 → seleniumbase-4.33.12}/examples/test_3d_apis.py +0 -0
- {seleniumbase-4.33.11 → seleniumbase-4.33.12}/examples/test_apple_site.py +0 -0
- {seleniumbase-4.33.11 → seleniumbase-4.33.12}/examples/test_assert_elements.py +0 -0
- {seleniumbase-4.33.11 → seleniumbase-4.33.12}/examples/test_calculator.py +0 -0
- {seleniumbase-4.33.11 → seleniumbase-4.33.12}/examples/test_canvas.py +0 -0
- {seleniumbase-4.33.11 → seleniumbase-4.33.12}/examples/test_cdp_ad_blocking.py +0 -0
- {seleniumbase-4.33.11 → seleniumbase-4.33.12}/examples/test_checkboxes.py +0 -0
- {seleniumbase-4.33.11 → seleniumbase-4.33.12}/examples/test_chinese_pdf.py +0 -0
- {seleniumbase-4.33.11 → seleniumbase-4.33.12}/examples/test_chromedriver.py +0 -0
- {seleniumbase-4.33.11 → seleniumbase-4.33.12}/examples/test_coffee_cart.py +0 -0
- {seleniumbase-4.33.11 → seleniumbase-4.33.12}/examples/test_console_logging.py +0 -0
- {seleniumbase-4.33.11 → seleniumbase-4.33.12}/examples/test_contains_selector.py +0 -0
- {seleniumbase-4.33.11 → seleniumbase-4.33.12}/examples/test_cycle_elements.py +0 -0
- {seleniumbase-4.33.11 → seleniumbase-4.33.12}/examples/test_decryption.py +0 -0
- {seleniumbase-4.33.11 → seleniumbase-4.33.12}/examples/test_deferred_asserts.py +0 -0
- {seleniumbase-4.33.11 → seleniumbase-4.33.12}/examples/test_demo_site.py +0 -0
- {seleniumbase-4.33.11 → seleniumbase-4.33.12}/examples/test_detect_404s.py +0 -0
- {seleniumbase-4.33.11 → seleniumbase-4.33.12}/examples/test_docs_site.py +0 -0
- {seleniumbase-4.33.11 → seleniumbase-4.33.12}/examples/test_double_click.py +0 -0
- {seleniumbase-4.33.11 → seleniumbase-4.33.12}/examples/test_download_files.py +0 -0
- {seleniumbase-4.33.11 → seleniumbase-4.33.12}/examples/test_download_images.py +0 -0
- {seleniumbase-4.33.11 → seleniumbase-4.33.12}/examples/test_drag_and_drop.py +0 -0
- {seleniumbase-4.33.11 → seleniumbase-4.33.12}/examples/test_error_page.py +0 -0
- {seleniumbase-4.33.11 → seleniumbase-4.33.12}/examples/test_event_firing.py +0 -0
- {seleniumbase-4.33.11 → seleniumbase-4.33.12}/examples/test_fail.py +0 -0
- {seleniumbase-4.33.11 → seleniumbase-4.33.12}/examples/test_geolocation.py +0 -0
- {seleniumbase-4.33.11 → seleniumbase-4.33.12}/examples/test_get_coffee.py +0 -0
- {seleniumbase-4.33.11 → seleniumbase-4.33.12}/examples/test_get_locale_code.py +0 -0
- {seleniumbase-4.33.11 → seleniumbase-4.33.12}/examples/test_get_pdf_text.py +0 -0
- {seleniumbase-4.33.11 → seleniumbase-4.33.12}/examples/test_get_user_agent.py +0 -0
- {seleniumbase-4.33.11 → seleniumbase-4.33.12}/examples/test_hack_search.py +0 -0
- {seleniumbase-4.33.11 → seleniumbase-4.33.12}/examples/test_highlight_elements.py +0 -0
- {seleniumbase-4.33.11 → seleniumbase-4.33.12}/examples/test_image_saving.py +0 -0
- {seleniumbase-4.33.11 → seleniumbase-4.33.12}/examples/test_inspect_html.py +0 -0
- {seleniumbase-4.33.11 → seleniumbase-4.33.12}/examples/test_login.py +0 -0
- {seleniumbase-4.33.11 → seleniumbase-4.33.12}/examples/test_markers.py +0 -0
- {seleniumbase-4.33.11 → seleniumbase-4.33.12}/examples/test_mfa_login.py +0 -0
- {seleniumbase-4.33.11 → seleniumbase-4.33.12}/examples/test_multiple_drivers.py +0 -0
- {seleniumbase-4.33.11 → seleniumbase-4.33.12}/examples/test_null.py +0 -0
- {seleniumbase-4.33.11 → seleniumbase-4.33.12}/examples/test_override_driver.py +0 -0
- {seleniumbase-4.33.11 → seleniumbase-4.33.12}/examples/test_override_sb_fixture.py +0 -0
- {seleniumbase-4.33.11 → seleniumbase-4.33.12}/examples/test_parse_soup.py +0 -0
- {seleniumbase-4.33.11 → seleniumbase-4.33.12}/examples/test_pdf_asserts.py +0 -0
- {seleniumbase-4.33.11 → seleniumbase-4.33.12}/examples/test_pytest_parametrize.py +0 -0
- {seleniumbase-4.33.11 → seleniumbase-4.33.12}/examples/test_repeat_tests.py +0 -0
- {seleniumbase-4.33.11 → seleniumbase-4.33.12}/examples/test_request_sb_fixture.py +0 -0
- {seleniumbase-4.33.11 → seleniumbase-4.33.12}/examples/test_save_screenshots.py +0 -0
- {seleniumbase-4.33.11 → seleniumbase-4.33.12}/examples/test_sb_fixture.py +0 -0
- {seleniumbase-4.33.11 → seleniumbase-4.33.12}/examples/test_scrape_bing.py +0 -0
- {seleniumbase-4.33.11 → seleniumbase-4.33.12}/examples/test_select_options.py +0 -0
- {seleniumbase-4.33.11 → seleniumbase-4.33.12}/examples/test_shadow_dom.py +0 -0
- {seleniumbase-4.33.11 → seleniumbase-4.33.12}/examples/test_show_file_choosers.py +0 -0
- {seleniumbase-4.33.11 → seleniumbase-4.33.12}/examples/test_simple_login.py +0 -0
- {seleniumbase-4.33.11 → seleniumbase-4.33.12}/examples/test_skype_site.py +0 -0
- {seleniumbase-4.33.11 → seleniumbase-4.33.12}/examples/test_suite.py +0 -0
- {seleniumbase-4.33.11 → seleniumbase-4.33.12}/examples/test_swag_labs.py +0 -0
- {seleniumbase-4.33.11 → seleniumbase-4.33.12}/examples/test_tinymce.py +0 -0
- {seleniumbase-4.33.11 → seleniumbase-4.33.12}/examples/test_todomvc.py +0 -0
- {seleniumbase-4.33.11 → seleniumbase-4.33.12}/examples/test_url_asserts.py +0 -0
- {seleniumbase-4.33.11 → seleniumbase-4.33.12}/examples/test_usefixtures.py +0 -0
- {seleniumbase-4.33.11 → seleniumbase-4.33.12}/examples/test_verify_chromedriver.py +0 -0
- {seleniumbase-4.33.11 → seleniumbase-4.33.12}/examples/test_window_switching.py +0 -0
- {seleniumbase-4.33.11 → seleniumbase-4.33.12}/examples/test_xfail.py +0 -0
- {seleniumbase-4.33.11 → seleniumbase-4.33.12}/examples/test_xkcd.py +0 -0
- {seleniumbase-4.33.11 → seleniumbase-4.33.12}/examples/time_limit_test.py +0 -0
- {seleniumbase-4.33.11 → seleniumbase-4.33.12}/examples/tour_examples/bootstrap_google_tour.py +0 -0
- {seleniumbase-4.33.11 → seleniumbase-4.33.12}/examples/tour_examples/bootstrap_xkcd_tour.py +0 -0
- {seleniumbase-4.33.11 → seleniumbase-4.33.12}/examples/tour_examples/driverjs_maps_tour.py +0 -0
- {seleniumbase-4.33.11 → seleniumbase-4.33.12}/examples/tour_examples/google_tour.py +0 -0
- {seleniumbase-4.33.11 → seleniumbase-4.33.12}/examples/tour_examples/hopscotch_google_tour.py +0 -0
- {seleniumbase-4.33.11 → seleniumbase-4.33.12}/examples/tour_examples/introjs_google_tour.py +0 -0
- {seleniumbase-4.33.11 → seleniumbase-4.33.12}/examples/tour_examples/maps_introjs_tour.py +0 -0
- {seleniumbase-4.33.11 → seleniumbase-4.33.12}/examples/tour_examples/octocat_tour.py +0 -0
- {seleniumbase-4.33.11 → seleniumbase-4.33.12}/examples/tour_examples/recordings/__init__.py +0 -0
- {seleniumbase-4.33.11 → seleniumbase-4.33.12}/examples/tour_examples/recordings/shepherd_google_tour_rec.py +0 -0
- {seleniumbase-4.33.11 → seleniumbase-4.33.12}/examples/tour_examples/shepherd_google_tour.py +0 -0
- {seleniumbase-4.33.11 → seleniumbase-4.33.12}/examples/tour_examples/xkcd_tour.py +0 -0
- {seleniumbase-4.33.11 → seleniumbase-4.33.12}/examples/translations/chinese_test_1.py +0 -0
- {seleniumbase-4.33.11 → seleniumbase-4.33.12}/examples/translations/dutch_test_1.py +0 -0
- {seleniumbase-4.33.11 → seleniumbase-4.33.12}/examples/translations/english_test_1.py +0 -0
- {seleniumbase-4.33.11 → seleniumbase-4.33.12}/examples/translations/french_test_1.py +0 -0
- {seleniumbase-4.33.11 → seleniumbase-4.33.12}/examples/translations/italian_test_1.py +0 -0
- {seleniumbase-4.33.11 → seleniumbase-4.33.12}/examples/translations/japanese_test_1.py +0 -0
- {seleniumbase-4.33.11 → seleniumbase-4.33.12}/examples/translations/korean_test_1.py +0 -0
- {seleniumbase-4.33.11 → seleniumbase-4.33.12}/examples/translations/portuguese_test_1.py +0 -0
- {seleniumbase-4.33.11 → seleniumbase-4.33.12}/examples/translations/russian_test_1.py +0 -0
- {seleniumbase-4.33.11 → seleniumbase-4.33.12}/examples/translations/spanish_test_1.py +0 -0
- {seleniumbase-4.33.11 → seleniumbase-4.33.12}/examples/uc_cdp_events.py +0 -0
- {seleniumbase-4.33.11 → seleniumbase-4.33.12}/examples/unit_tests/verify_framework.py +0 -0
- {seleniumbase-4.33.11 → seleniumbase-4.33.12}/examples/upgrade_chromedriver.py +0 -0
- {seleniumbase-4.33.11 → seleniumbase-4.33.12}/examples/upload_file_test.py +0 -0
- {seleniumbase-4.33.11 → seleniumbase-4.33.12}/examples/user_agent_test.py +0 -0
- {seleniumbase-4.33.11 → seleniumbase-4.33.12}/examples/verify_undetected.py +0 -0
- {seleniumbase-4.33.11 → seleniumbase-4.33.12}/examples/visual_testing/__init__.py +0 -0
- {seleniumbase-4.33.11 → seleniumbase-4.33.12}/examples/visual_testing/layout_test.py +0 -0
- {seleniumbase-4.33.11 → seleniumbase-4.33.12}/examples/visual_testing/python_home_test.py +0 -0
- {seleniumbase-4.33.11 → seleniumbase-4.33.12}/examples/visual_testing/test_layout_fail.py +0 -0
- {seleniumbase-4.33.11 → seleniumbase-4.33.12}/examples/visual_testing/xkcd_visual_test.py +0 -0
- {seleniumbase-4.33.11 → seleniumbase-4.33.12}/examples/wordle_test.py +0 -0
- {seleniumbase-4.33.11 → seleniumbase-4.33.12}/examples/xpath_test.py +0 -0
- {seleniumbase-4.33.11 → seleniumbase-4.33.12}/examples/youtube_search_test.py +0 -0
- {seleniumbase-4.33.11 → seleniumbase-4.33.12}/install.sh +0 -0
- {seleniumbase-4.33.11 → seleniumbase-4.33.12}/integrations/__init__.py +0 -0
- {seleniumbase-4.33.11 → seleniumbase-4.33.12}/integrations/behave/features/__init__.py +0 -0
- {seleniumbase-4.33.11 → seleniumbase-4.33.12}/integrations/behave/features/environment.py +0 -0
- {seleniumbase-4.33.11 → seleniumbase-4.33.12}/integrations/behave/features/steps/__init__.py +0 -0
- {seleniumbase-4.33.11 → seleniumbase-4.33.12}/integrations/behave/features/steps/calculator.py +0 -0
- {seleniumbase-4.33.11 → seleniumbase-4.33.12}/integrations/behave/features/steps/fail_page.py +0 -0
- {seleniumbase-4.33.11 → seleniumbase-4.33.12}/integrations/behave/features/steps/real_world.py +0 -0
- {seleniumbase-4.33.11 → seleniumbase-4.33.12}/integrations/behave/features/steps/swag_labs.py +0 -0
- {seleniumbase-4.33.11 → seleniumbase-4.33.12}/integrations/brython/index.py +0 -0
- {seleniumbase-4.33.11 → seleniumbase-4.33.12}/integrations/node_js/__init__.py +0 -0
- {seleniumbase-4.33.11 → seleniumbase-4.33.12}/integrations/node_js/my_first_test.py +0 -0
- {seleniumbase-4.33.11 → seleniumbase-4.33.12}/integrations/node_js/test_demo_site.py +0 -0
- {seleniumbase-4.33.11 → seleniumbase-4.33.12}/mkdocs_build/prepare.py +0 -0
- {seleniumbase-4.33.11 → seleniumbase-4.33.12}/pyproject.toml +0 -0
- {seleniumbase-4.33.11 → seleniumbase-4.33.12}/pytest.ini +0 -0
- {seleniumbase-4.33.11 → seleniumbase-4.33.12}/sbase/__init__.py +0 -0
- {seleniumbase-4.33.11 → seleniumbase-4.33.12}/sbase/__main__.py +0 -0
- {seleniumbase-4.33.11 → seleniumbase-4.33.12}/sbase/steps.py +0 -0
- {seleniumbase-4.33.11 → seleniumbase-4.33.12}/seleniumbase/__init__.py +0 -0
- {seleniumbase-4.33.11 → seleniumbase-4.33.12}/seleniumbase/__main__.py +0 -0
- {seleniumbase-4.33.11 → seleniumbase-4.33.12}/seleniumbase/behave/__init__.py +0 -0
- {seleniumbase-4.33.11 → seleniumbase-4.33.12}/seleniumbase/behave/behave_helper.py +0 -0
- {seleniumbase-4.33.11 → seleniumbase-4.33.12}/seleniumbase/behave/behave_sb.py +0 -0
- {seleniumbase-4.33.11 → seleniumbase-4.33.12}/seleniumbase/behave/steps.py +0 -0
- {seleniumbase-4.33.11 → seleniumbase-4.33.12}/seleniumbase/common/__init__.py +0 -0
- {seleniumbase-4.33.11 → seleniumbase-4.33.12}/seleniumbase/common/decorators.py +0 -0
- {seleniumbase-4.33.11 → seleniumbase-4.33.12}/seleniumbase/common/encryption.py +0 -0
- {seleniumbase-4.33.11 → seleniumbase-4.33.12}/seleniumbase/common/exceptions.py +0 -0
- {seleniumbase-4.33.11 → seleniumbase-4.33.12}/seleniumbase/common/obfuscate.py +0 -0
- {seleniumbase-4.33.11 → seleniumbase-4.33.12}/seleniumbase/common/unobfuscate.py +0 -0
- {seleniumbase-4.33.11 → seleniumbase-4.33.12}/seleniumbase/config/__init__.py +0 -0
- {seleniumbase-4.33.11 → seleniumbase-4.33.12}/seleniumbase/config/ad_block_list.py +0 -0
- {seleniumbase-4.33.11 → seleniumbase-4.33.12}/seleniumbase/config/proxy_list.py +0 -0
- {seleniumbase-4.33.11 → seleniumbase-4.33.12}/seleniumbase/config/settings.py +0 -0
- {seleniumbase-4.33.11 → seleniumbase-4.33.12}/seleniumbase/console_scripts/__init__.py +0 -0
- {seleniumbase-4.33.11 → seleniumbase-4.33.12}/seleniumbase/console_scripts/logo_helper.py +0 -0
- {seleniumbase-4.33.11 → seleniumbase-4.33.12}/seleniumbase/console_scripts/rich_helper.py +0 -0
- {seleniumbase-4.33.11 → seleniumbase-4.33.12}/seleniumbase/console_scripts/run.py +0 -0
- {seleniumbase-4.33.11 → seleniumbase-4.33.12}/seleniumbase/console_scripts/sb_behave_gui.py +0 -0
- {seleniumbase-4.33.11 → seleniumbase-4.33.12}/seleniumbase/console_scripts/sb_caseplans.py +0 -0
- {seleniumbase-4.33.11 → seleniumbase-4.33.12}/seleniumbase/console_scripts/sb_commander.py +0 -0
- {seleniumbase-4.33.11 → seleniumbase-4.33.12}/seleniumbase/console_scripts/sb_install.py +0 -0
- {seleniumbase-4.33.11 → seleniumbase-4.33.12}/seleniumbase/console_scripts/sb_mkchart.py +0 -0
- {seleniumbase-4.33.11 → seleniumbase-4.33.12}/seleniumbase/console_scripts/sb_mkdir.py +0 -0
- {seleniumbase-4.33.11 → seleniumbase-4.33.12}/seleniumbase/console_scripts/sb_mkfile.py +0 -0
- {seleniumbase-4.33.11 → seleniumbase-4.33.12}/seleniumbase/console_scripts/sb_mkpres.py +0 -0
- {seleniumbase-4.33.11 → seleniumbase-4.33.12}/seleniumbase/console_scripts/sb_mkrec.py +0 -0
- {seleniumbase-4.33.11 → seleniumbase-4.33.12}/seleniumbase/console_scripts/sb_objectify.py +0 -0
- {seleniumbase-4.33.11 → seleniumbase-4.33.12}/seleniumbase/console_scripts/sb_print.py +0 -0
- {seleniumbase-4.33.11 → seleniumbase-4.33.12}/seleniumbase/console_scripts/sb_recorder.py +0 -0
- {seleniumbase-4.33.11 → seleniumbase-4.33.12}/seleniumbase/core/__init__.py +0 -0
- {seleniumbase-4.33.11 → seleniumbase-4.33.12}/seleniumbase/core/application_manager.py +0 -0
- {seleniumbase-4.33.11 → seleniumbase-4.33.12}/seleniumbase/core/browser_launcher.py +0 -0
- {seleniumbase-4.33.11 → seleniumbase-4.33.12}/seleniumbase/core/capabilities_parser.py +0 -0
- {seleniumbase-4.33.11 → seleniumbase-4.33.12}/seleniumbase/core/colored_traceback.py +0 -0
- {seleniumbase-4.33.11 → seleniumbase-4.33.12}/seleniumbase/core/create_db_tables.sql +0 -0
- {seleniumbase-4.33.11 → seleniumbase-4.33.12}/seleniumbase/core/detect_b_ver.py +0 -0
- {seleniumbase-4.33.11 → seleniumbase-4.33.12}/seleniumbase/core/download_helper.py +0 -0
- {seleniumbase-4.33.11 → seleniumbase-4.33.12}/seleniumbase/core/encoded_images.py +0 -0
- {seleniumbase-4.33.11 → seleniumbase-4.33.12}/seleniumbase/core/jqc_helper.py +0 -0
- {seleniumbase-4.33.11 → seleniumbase-4.33.12}/seleniumbase/core/mysql.py +0 -0
- {seleniumbase-4.33.11 → seleniumbase-4.33.12}/seleniumbase/core/proxy_helper.py +0 -0
- {seleniumbase-4.33.11 → seleniumbase-4.33.12}/seleniumbase/core/recorder_helper.py +0 -0
- {seleniumbase-4.33.11 → seleniumbase-4.33.12}/seleniumbase/core/report_helper.py +0 -0
- {seleniumbase-4.33.11 → seleniumbase-4.33.12}/seleniumbase/core/s3_manager.py +0 -0
- {seleniumbase-4.33.11 → seleniumbase-4.33.12}/seleniumbase/core/sb_driver.py +0 -0
- {seleniumbase-4.33.11 → seleniumbase-4.33.12}/seleniumbase/core/session_helper.py +0 -0
- {seleniumbase-4.33.11 → seleniumbase-4.33.12}/seleniumbase/core/settings_parser.py +0 -0
- {seleniumbase-4.33.11 → seleniumbase-4.33.12}/seleniumbase/core/style_sheet.py +0 -0
- {seleniumbase-4.33.11 → seleniumbase-4.33.12}/seleniumbase/core/testcase_manager.py +0 -0
- {seleniumbase-4.33.11 → seleniumbase-4.33.12}/seleniumbase/core/tour_helper.py +0 -0
- {seleniumbase-4.33.11 → seleniumbase-4.33.12}/seleniumbase/core/visual_helper.py +0 -0
- {seleniumbase-4.33.11 → seleniumbase-4.33.12}/seleniumbase/drivers/__init__.py +0 -0
- {seleniumbase-4.33.11 → seleniumbase-4.33.12}/seleniumbase/extensions/__init__.py +0 -0
- {seleniumbase-4.33.11 → seleniumbase-4.33.12}/seleniumbase/extensions/ad_block.zip +0 -0
- {seleniumbase-4.33.11 → seleniumbase-4.33.12}/seleniumbase/extensions/disable_csp.zip +0 -0
- {seleniumbase-4.33.11 → seleniumbase-4.33.12}/seleniumbase/extensions/recorder.zip +0 -0
- {seleniumbase-4.33.11 → seleniumbase-4.33.12}/seleniumbase/extensions/sbase_ext.zip +0 -0
- {seleniumbase-4.33.11 → seleniumbase-4.33.12}/seleniumbase/fixtures/__init__.py +0 -0
- {seleniumbase-4.33.11 → seleniumbase-4.33.12}/seleniumbase/fixtures/constants.py +0 -0
- {seleniumbase-4.33.11 → seleniumbase-4.33.12}/seleniumbase/fixtures/css_to_xpath.py +0 -0
- {seleniumbase-4.33.11 → seleniumbase-4.33.12}/seleniumbase/fixtures/errors.py +0 -0
- {seleniumbase-4.33.11 → seleniumbase-4.33.12}/seleniumbase/fixtures/js_utils.py +0 -0
- {seleniumbase-4.33.11 → seleniumbase-4.33.12}/seleniumbase/fixtures/page_utils.py +0 -0
- {seleniumbase-4.33.11 → seleniumbase-4.33.12}/seleniumbase/fixtures/shared_utils.py +0 -0
- {seleniumbase-4.33.11 → seleniumbase-4.33.12}/seleniumbase/fixtures/unittest_helper.py +0 -0
- {seleniumbase-4.33.11 → seleniumbase-4.33.12}/seleniumbase/fixtures/words.py +0 -0
- {seleniumbase-4.33.11 → seleniumbase-4.33.12}/seleniumbase/fixtures/xpath_to_css.py +0 -0
- {seleniumbase-4.33.11 → seleniumbase-4.33.12}/seleniumbase/js_code/__init__.py +0 -0
- {seleniumbase-4.33.11 → seleniumbase-4.33.12}/seleniumbase/js_code/active_css_js.py +0 -0
- {seleniumbase-4.33.11 → seleniumbase-4.33.12}/seleniumbase/js_code/live_js.py +0 -0
- {seleniumbase-4.33.11 → seleniumbase-4.33.12}/seleniumbase/js_code/recorder_js.py +0 -0
- {seleniumbase-4.33.11 → seleniumbase-4.33.12}/seleniumbase/masterqa/__init__.py +0 -0
- {seleniumbase-4.33.11 → seleniumbase-4.33.12}/seleniumbase/masterqa/master_qa.py +0 -0
- {seleniumbase-4.33.11 → seleniumbase-4.33.12}/seleniumbase/plugins/__init__.py +0 -0
- {seleniumbase-4.33.11 → seleniumbase-4.33.12}/seleniumbase/plugins/base_plugin.py +0 -0
- {seleniumbase-4.33.11 → seleniumbase-4.33.12}/seleniumbase/plugins/basic_test_info.py +0 -0
- {seleniumbase-4.33.11 → seleniumbase-4.33.12}/seleniumbase/plugins/db_reporting_plugin.py +0 -0
- {seleniumbase-4.33.11 → seleniumbase-4.33.12}/seleniumbase/plugins/driver_manager.py +0 -0
- {seleniumbase-4.33.11 → seleniumbase-4.33.12}/seleniumbase/plugins/page_source.py +0 -0
- {seleniumbase-4.33.11 → seleniumbase-4.33.12}/seleniumbase/plugins/pytest_plugin.py +0 -0
- {seleniumbase-4.33.11 → seleniumbase-4.33.12}/seleniumbase/plugins/s3_logging_plugin.py +0 -0
- {seleniumbase-4.33.11 → seleniumbase-4.33.12}/seleniumbase/plugins/sb_manager.py +0 -0
- {seleniumbase-4.33.11 → seleniumbase-4.33.12}/seleniumbase/plugins/screen_shots.py +0 -0
- {seleniumbase-4.33.11 → seleniumbase-4.33.12}/seleniumbase/plugins/selenium_plugin.py +0 -0
- {seleniumbase-4.33.11 → seleniumbase-4.33.12}/seleniumbase/resources/__init__.py +0 -0
- {seleniumbase-4.33.11 → seleniumbase-4.33.12}/seleniumbase/translate/__init__.py +0 -0
- {seleniumbase-4.33.11 → seleniumbase-4.33.12}/seleniumbase/translate/chinese.py +0 -0
- {seleniumbase-4.33.11 → seleniumbase-4.33.12}/seleniumbase/translate/dutch.py +0 -0
- {seleniumbase-4.33.11 → seleniumbase-4.33.12}/seleniumbase/translate/french.py +0 -0
- {seleniumbase-4.33.11 → seleniumbase-4.33.12}/seleniumbase/translate/italian.py +0 -0
- {seleniumbase-4.33.11 → seleniumbase-4.33.12}/seleniumbase/translate/japanese.py +0 -0
- {seleniumbase-4.33.11 → seleniumbase-4.33.12}/seleniumbase/translate/korean.py +0 -0
- {seleniumbase-4.33.11 → seleniumbase-4.33.12}/seleniumbase/translate/master_dict.py +0 -0
- {seleniumbase-4.33.11 → seleniumbase-4.33.12}/seleniumbase/translate/portuguese.py +0 -0
- {seleniumbase-4.33.11 → seleniumbase-4.33.12}/seleniumbase/translate/russian.py +0 -0
- {seleniumbase-4.33.11 → seleniumbase-4.33.12}/seleniumbase/translate/spanish.py +0 -0
- {seleniumbase-4.33.11 → seleniumbase-4.33.12}/seleniumbase/translate/translator.py +0 -0
- {seleniumbase-4.33.11 → seleniumbase-4.33.12}/seleniumbase/undetected/__init__.py +0 -0
- {seleniumbase-4.33.11 → seleniumbase-4.33.12}/seleniumbase/undetected/cdp.py +0 -0
- {seleniumbase-4.33.11 → seleniumbase-4.33.12}/seleniumbase/undetected/cdp_driver/__init__.py +0 -0
- {seleniumbase-4.33.11 → seleniumbase-4.33.12}/seleniumbase/undetected/cdp_driver/_contradict.py +0 -0
- {seleniumbase-4.33.11 → seleniumbase-4.33.12}/seleniumbase/undetected/cdp_driver/browser.py +0 -0
- {seleniumbase-4.33.11 → seleniumbase-4.33.12}/seleniumbase/undetected/cdp_driver/cdp_util.py +0 -0
- {seleniumbase-4.33.11 → seleniumbase-4.33.12}/seleniumbase/undetected/cdp_driver/config.py +0 -0
- {seleniumbase-4.33.11 → seleniumbase-4.33.12}/seleniumbase/undetected/cdp_driver/connection.py +0 -0
- {seleniumbase-4.33.11 → seleniumbase-4.33.12}/seleniumbase/undetected/cdp_driver/element.py +0 -0
- {seleniumbase-4.33.11 → seleniumbase-4.33.12}/seleniumbase/undetected/cdp_driver/tab.py +0 -0
- {seleniumbase-4.33.11 → seleniumbase-4.33.12}/seleniumbase/undetected/dprocess.py +0 -0
- {seleniumbase-4.33.11 → seleniumbase-4.33.12}/seleniumbase/undetected/options.py +0 -0
- {seleniumbase-4.33.11 → seleniumbase-4.33.12}/seleniumbase/undetected/patcher.py +0 -0
- {seleniumbase-4.33.11 → seleniumbase-4.33.12}/seleniumbase/undetected/reactor.py +0 -0
- {seleniumbase-4.33.11 → seleniumbase-4.33.12}/seleniumbase/undetected/webelement.py +0 -0
- {seleniumbase-4.33.11 → seleniumbase-4.33.12}/seleniumbase/utilities/__init__.py +0 -0
- {seleniumbase-4.33.11 → seleniumbase-4.33.12}/seleniumbase/utilities/selenium_grid/__init__.py +0 -0
- {seleniumbase-4.33.11 → seleniumbase-4.33.12}/seleniumbase/utilities/selenium_grid/download_selenium_server.py +0 -0
- {seleniumbase-4.33.11 → seleniumbase-4.33.12}/seleniumbase/utilities/selenium_grid/font_color +0 -0
- {seleniumbase-4.33.11 → seleniumbase-4.33.12}/seleniumbase/utilities/selenium_grid/grid-hub +0 -0
- {seleniumbase-4.33.11 → seleniumbase-4.33.12}/seleniumbase/utilities/selenium_grid/grid-node +0 -0
- {seleniumbase-4.33.11 → seleniumbase-4.33.12}/seleniumbase/utilities/selenium_grid/grid_hub.py +0 -0
- {seleniumbase-4.33.11 → seleniumbase-4.33.12}/seleniumbase/utilities/selenium_grid/grid_node.py +0 -0
- {seleniumbase-4.33.11 → seleniumbase-4.33.12}/seleniumbase/utilities/selenium_grid/register-grid-node.bat +0 -0
- {seleniumbase-4.33.11 → seleniumbase-4.33.12}/seleniumbase/utilities/selenium_grid/register-grid-node.sh +0 -0
- {seleniumbase-4.33.11 → seleniumbase-4.33.12}/seleniumbase/utilities/selenium_grid/start-grid-hub.bat +0 -0
- {seleniumbase-4.33.11 → seleniumbase-4.33.12}/seleniumbase/utilities/selenium_grid/start-grid-hub.sh +0 -0
- {seleniumbase-4.33.11 → seleniumbase-4.33.12}/seleniumbase/utilities/selenium_ide/__init__.py +0 -0
- {seleniumbase-4.33.11 → seleniumbase-4.33.12}/seleniumbase/utilities/selenium_ide/convert_ide.py +0 -0
- {seleniumbase-4.33.11 → seleniumbase-4.33.12}/seleniumbase.egg-info/SOURCES.txt +0 -0
- {seleniumbase-4.33.11 → seleniumbase-4.33.12}/seleniumbase.egg-info/dependency_links.txt +0 -0
- {seleniumbase-4.33.11 → seleniumbase-4.33.12}/seleniumbase.egg-info/entry_points.txt +0 -0
- {seleniumbase-4.33.11 → seleniumbase-4.33.12}/seleniumbase.egg-info/top_level.txt +0 -0
- {seleniumbase-4.33.11 → seleniumbase-4.33.12}/setup.cfg +0 -0
- {seleniumbase-4.33.11 → seleniumbase-4.33.12}/site/prepare.py +0 -0
- {seleniumbase-4.33.11 → seleniumbase-4.33.12}/virtualenv_install.sh +0 -0
@@ -1,6 +1,6 @@
|
|
1
1
|
Metadata-Version: 2.1
|
2
2
|
Name: seleniumbase
|
3
|
-
Version: 4.33.
|
3
|
+
Version: 4.33.12
|
4
4
|
Summary: A complete web automation framework for end-to-end testing.
|
5
5
|
Home-page: https://github.com/seleniumbase/SeleniumBase
|
6
6
|
Author: Michael Mintz
|
@@ -64,7 +64,7 @@ Requires-Dist: packaging>=24.2
|
|
64
64
|
Requires-Dist: setuptools~=70.2; python_version < "3.10"
|
65
65
|
Requires-Dist: setuptools>=75.6.0; python_version >= "3.10"
|
66
66
|
Requires-Dist: wheel>=0.45.1
|
67
|
-
Requires-Dist: attrs>=24.
|
67
|
+
Requires-Dist: attrs>=24.3.0
|
68
68
|
Requires-Dist: certifi>=2024.12.14
|
69
69
|
Requires-Dist: exceptiongroup>=1.2.2
|
70
70
|
Requires-Dist: websockets~=13.1; python_version < "3.9"
|
@@ -75,7 +75,10 @@ Requires-Dist: mycdp>=1.1.0
|
|
75
75
|
Requires-Dist: pynose>=1.5.3
|
76
76
|
Requires-Dist: platformdirs>=4.3.6
|
77
77
|
Requires-Dist: typing-extensions>=4.12.2
|
78
|
-
Requires-Dist: sbvirtualdisplay>=1.
|
78
|
+
Requires-Dist: sbvirtualdisplay>=1.4.0
|
79
|
+
Requires-Dist: MarkupSafe==2.1.5; python_version < "3.9"
|
80
|
+
Requires-Dist: MarkupSafe>=3.0.2; python_version >= "3.9"
|
81
|
+
Requires-Dist: Jinja2>=3.1.5
|
79
82
|
Requires-Dist: six>=1.17.0
|
80
83
|
Requires-Dist: parse>=1.20.2
|
81
84
|
Requires-Dist: parse-type>=0.6.4
|
@@ -87,9 +90,9 @@ Requires-Dist: tabcompleter>=1.4.0
|
|
87
90
|
Requires-Dist: pdbp>=1.6.1
|
88
91
|
Requires-Dist: idna==3.10
|
89
92
|
Requires-Dist: chardet==5.2.0
|
90
|
-
Requires-Dist: charset-normalizer==3.4.
|
93
|
+
Requires-Dist: charset-normalizer==3.4.1
|
91
94
|
Requires-Dist: urllib3<2,>=1.26.20; python_version < "3.10"
|
92
|
-
Requires-Dist: urllib3<2.
|
95
|
+
Requires-Dist: urllib3<2.4.0,>=1.26.20; python_version >= "3.10"
|
93
96
|
Requires-Dist: requests==2.32.3
|
94
97
|
Requires-Dist: sniffio==1.3.1
|
95
98
|
Requires-Dist: h11==0.14.0
|
@@ -236,7 +239,7 @@ Requires-Dist: zstandard==0.23.0; extra == "selenium-wire"
|
|
236
239
|
|
237
240
|
📚 Learn from [**over 200 examples** in the **SeleniumBase/examples/** folder](https://github.com/seleniumbase/SeleniumBase/tree/master/examples).
|
238
241
|
|
239
|
-
🐙 Note that <a translate="no" href="https://github.com/seleniumbase/SeleniumBase/blob/master/help_docs/uc_mode.md"><b>UC Mode</b></a>
|
242
|
+
🐙 Note that <a translate="no" href="https://github.com/seleniumbase/SeleniumBase/blob/master/help_docs/uc_mode.md"><b>UC Mode</b></a> / <a href="https://github.com/seleniumbase/SeleniumBase/blob/master/examples/cdp_mode/ReadMe.md"><b>CDP Mode</b></a> (Stealth Mode) have their own ReadMe files.
|
240
243
|
|
241
244
|
ℹ️ Most scripts run with raw <code translate="no"><b>python</b></code>, although some scripts use <a href="https://github.com/seleniumbase/SeleniumBase/blob/master/help_docs/syntax_formats.md">Syntax Formats</a> that expect <a href="https://docs.pytest.org/en/latest/how-to/usage.html" translate="no"><b>pytest</b></a> (a Python unit-testing framework included with SeleniumBase that can discover, collect, and run tests automatically).
|
242
245
|
|
@@ -247,21 +250,37 @@ Requires-Dist: zstandard==0.23.0; extra == "selenium-wire"
|
|
247
250
|
```python
|
248
251
|
from seleniumbase import SB
|
249
252
|
|
250
|
-
with SB(test=True
|
253
|
+
with SB(test=True) as sb:
|
251
254
|
sb.open("https://google.com/ncr")
|
252
255
|
sb.type('[title="Search"]', "SeleniumBase GitHub page\n")
|
253
|
-
sb.click('[href*="github.com/seleniumbase/
|
254
|
-
sb.save_screenshot_to_logs() #
|
256
|
+
sb.click('[href*="github.com/seleniumbase/"]')
|
257
|
+
sb.save_screenshot_to_logs() # ./latest_logs/
|
255
258
|
print(sb.get_page_title())
|
256
259
|
```
|
257
260
|
|
258
261
|
> `python raw_google.py`
|
259
262
|
|
260
|
-
<a href="https://github.com/seleniumbase/SeleniumBase/blob/master/examples/raw_google.py"><img src="https://seleniumbase.github.io/cdn/gif/google_search.gif" alt="SeleniumBase Test" title="SeleniumBase Test" width="
|
263
|
+
<a href="https://github.com/seleniumbase/SeleniumBase/blob/master/examples/raw_google.py"><img src="https://seleniumbase.github.io/cdn/gif/google_search.gif" alt="SeleniumBase Test" title="SeleniumBase Test" width="420" /></a>
|
261
264
|
|
262
265
|
--------
|
263
266
|
|
264
|
-
<p align="left">📗 Here's <a href="https://github.com/seleniumbase/SeleniumBase/blob/master/examples/
|
267
|
+
<p align="left">📗 Here's an example of bypassing Cloudflare's challenge page: <a href="https://github.com/seleniumbase/SeleniumBase/blob/master/examples/cdp_mode/raw_gitlab.py">SeleniumBase/examples/cdp_mode/raw_gitlab.py</a></p>
|
268
|
+
|
269
|
+
```python
|
270
|
+
from seleniumbase import SB
|
271
|
+
|
272
|
+
with SB(uc=True, test=True, locale_code="en") as sb:
|
273
|
+
url = "https://gitlab.com/users/sign_in"
|
274
|
+
sb.activate_cdp_mode(url)
|
275
|
+
sb.uc_gui_click_captcha()
|
276
|
+
sb.sleep(2)
|
277
|
+
```
|
278
|
+
|
279
|
+
<img src="https://seleniumbase.github.io/other/cf_sec.jpg" title="SeleniumBase" width="332"> <img src="https://seleniumbase.github.io/other/gitlab_bypass.png" title="SeleniumBase" width="288">
|
280
|
+
|
281
|
+
--------
|
282
|
+
|
283
|
+
<p align="left">📗 Here's <a href="https://github.com/seleniumbase/SeleniumBase/blob/master/examples/test_get_swag.py">test_get_swag.py</a>, which tests an e-commerce site:</p>
|
265
284
|
|
266
285
|
```python
|
267
286
|
from seleniumbase import BaseCase
|
@@ -287,7 +306,7 @@ class MyTestClass(BaseCase):
|
|
287
306
|
|
288
307
|
> `pytest test_get_swag.py`
|
289
308
|
|
290
|
-
<a href="https://github.com/seleniumbase/SeleniumBase/blob/master/examples/test_get_swag.py"><img src="https://seleniumbase.github.io/cdn/gif/fast_swag_2.gif" alt="SeleniumBase Test" title="SeleniumBase Test" width="
|
309
|
+
<a href="https://github.com/seleniumbase/SeleniumBase/blob/master/examples/test_get_swag.py"><img src="https://seleniumbase.github.io/cdn/gif/fast_swag_2.gif" alt="SeleniumBase Test" title="SeleniumBase Test" width="480" /></a>
|
291
310
|
|
292
311
|
> (The default browser is ``--chrome`` if not set.)
|
293
312
|
|
@@ -299,7 +318,7 @@ class MyTestClass(BaseCase):
|
|
299
318
|
pytest test_coffee_cart.py --demo
|
300
319
|
```
|
301
320
|
|
302
|
-
<p align="left"><a href="https://seleniumbase.io/coffee/" target="_blank"><img src="https://seleniumbase.github.io/cdn/gif/coffee_cart.gif" width="
|
321
|
+
<p align="left"><a href="https://seleniumbase.io/coffee/" target="_blank"><img src="https://seleniumbase.github.io/cdn/gif/coffee_cart.gif" width="480" alt="SeleniumBase Coffee Cart Test" title="SeleniumBase Coffee Cart Test" /></a></p>
|
303
322
|
|
304
323
|
> <p>(<code translate="no">--demo</code> mode slows down tests and highlights actions)</p>
|
305
324
|
|
@@ -313,7 +332,7 @@ pytest test_coffee_cart.py --demo
|
|
313
332
|
pytest test_demo_site.py
|
314
333
|
```
|
315
334
|
|
316
|
-
<p align="left"><a href="https://seleniumbase.io/demo_page" target="_blank"><img src="https://seleniumbase.github.io/cdn/gif/demo_page_5.gif" width="
|
335
|
+
<p align="left"><a href="https://seleniumbase.io/demo_page" target="_blank"><img src="https://seleniumbase.github.io/cdn/gif/demo_page_5.gif" width="480" alt="SeleniumBase Example" title="SeleniumBase Example" /></a></p>
|
317
336
|
|
318
337
|
> Easy to type, click, select, toggle, drag & drop, and more.
|
319
338
|
|
@@ -569,7 +588,7 @@ cd examples/
|
|
569
588
|
pytest my_first_test.py
|
570
589
|
```
|
571
590
|
|
572
|
-
<a href="https://github.com/seleniumbase/SeleniumBase/blob/master/examples/my_first_test.py"><img src="https://seleniumbase.github.io/cdn/gif/fast_swag_2.gif" alt="SeleniumBase Test" title="SeleniumBase Test" width="
|
591
|
+
<a href="https://github.com/seleniumbase/SeleniumBase/blob/master/examples/my_first_test.py"><img src="https://seleniumbase.github.io/cdn/gif/fast_swag_2.gif" alt="SeleniumBase Test" title="SeleniumBase Test" width="480" /></a>
|
573
592
|
|
574
593
|
<p align="left"><b>Here's the full code for <a href="https://github.com/seleniumbase/SeleniumBase/blob/master/examples/my_first_test.py">my_first_test.py</a>:</b></p>
|
575
594
|
|
@@ -987,7 +1006,7 @@ You can run it from the ``examples/`` folder like this:
|
|
987
1006
|
pytest test_fail.py
|
988
1007
|
```
|
989
1008
|
|
990
|
-
🔵 You'll notice that a logs folder,
|
1009
|
+
🔵 You'll notice that a logs folder, ``./latest_logs/``, was created to hold information (and screenshots) about the failing test. During test runs, past results get moved to the archived_logs folder if you have ARCHIVE_EXISTING_LOGS set to True in [settings.py](https://github.com/seleniumbase/SeleniumBase/blob/master/seleniumbase/config/settings.py), or if your run tests with ``--archive-logs``. If you choose not to archive existing logs, they will be deleted and replaced by the logs of the latest test run.
|
991
1010
|
|
992
1011
|
--------
|
993
1012
|
|
@@ -60,7 +60,7 @@
|
|
60
60
|
|
61
61
|
📚 Learn from [**over 200 examples** in the **SeleniumBase/examples/** folder](https://github.com/seleniumbase/SeleniumBase/tree/master/examples).
|
62
62
|
|
63
|
-
🐙 Note that <a translate="no" href="https://github.com/seleniumbase/SeleniumBase/blob/master/help_docs/uc_mode.md"><b>UC Mode</b></a>
|
63
|
+
🐙 Note that <a translate="no" href="https://github.com/seleniumbase/SeleniumBase/blob/master/help_docs/uc_mode.md"><b>UC Mode</b></a> / <a href="https://github.com/seleniumbase/SeleniumBase/blob/master/examples/cdp_mode/ReadMe.md"><b>CDP Mode</b></a> (Stealth Mode) have their own ReadMe files.
|
64
64
|
|
65
65
|
ℹ️ Most scripts run with raw <code translate="no"><b>python</b></code>, although some scripts use <a href="https://github.com/seleniumbase/SeleniumBase/blob/master/help_docs/syntax_formats.md">Syntax Formats</a> that expect <a href="https://docs.pytest.org/en/latest/how-to/usage.html" translate="no"><b>pytest</b></a> (a Python unit-testing framework included with SeleniumBase that can discover, collect, and run tests automatically).
|
66
66
|
|
@@ -71,21 +71,37 @@
|
|
71
71
|
```python
|
72
72
|
from seleniumbase import SB
|
73
73
|
|
74
|
-
with SB(test=True
|
74
|
+
with SB(test=True) as sb:
|
75
75
|
sb.open("https://google.com/ncr")
|
76
76
|
sb.type('[title="Search"]', "SeleniumBase GitHub page\n")
|
77
|
-
sb.click('[href*="github.com/seleniumbase/
|
78
|
-
sb.save_screenshot_to_logs() #
|
77
|
+
sb.click('[href*="github.com/seleniumbase/"]')
|
78
|
+
sb.save_screenshot_to_logs() # ./latest_logs/
|
79
79
|
print(sb.get_page_title())
|
80
80
|
```
|
81
81
|
|
82
82
|
> `python raw_google.py`
|
83
83
|
|
84
|
-
<a href="https://github.com/seleniumbase/SeleniumBase/blob/master/examples/raw_google.py"><img src="https://seleniumbase.github.io/cdn/gif/google_search.gif" alt="SeleniumBase Test" title="SeleniumBase Test" width="
|
84
|
+
<a href="https://github.com/seleniumbase/SeleniumBase/blob/master/examples/raw_google.py"><img src="https://seleniumbase.github.io/cdn/gif/google_search.gif" alt="SeleniumBase Test" title="SeleniumBase Test" width="420" /></a>
|
85
85
|
|
86
86
|
--------
|
87
87
|
|
88
|
-
<p align="left">📗 Here's <a href="https://github.com/seleniumbase/SeleniumBase/blob/master/examples/
|
88
|
+
<p align="left">📗 Here's an example of bypassing Cloudflare's challenge page: <a href="https://github.com/seleniumbase/SeleniumBase/blob/master/examples/cdp_mode/raw_gitlab.py">SeleniumBase/examples/cdp_mode/raw_gitlab.py</a></p>
|
89
|
+
|
90
|
+
```python
|
91
|
+
from seleniumbase import SB
|
92
|
+
|
93
|
+
with SB(uc=True, test=True, locale_code="en") as sb:
|
94
|
+
url = "https://gitlab.com/users/sign_in"
|
95
|
+
sb.activate_cdp_mode(url)
|
96
|
+
sb.uc_gui_click_captcha()
|
97
|
+
sb.sleep(2)
|
98
|
+
```
|
99
|
+
|
100
|
+
<img src="https://seleniumbase.github.io/other/cf_sec.jpg" title="SeleniumBase" width="332"> <img src="https://seleniumbase.github.io/other/gitlab_bypass.png" title="SeleniumBase" width="288">
|
101
|
+
|
102
|
+
--------
|
103
|
+
|
104
|
+
<p align="left">📗 Here's <a href="https://github.com/seleniumbase/SeleniumBase/blob/master/examples/test_get_swag.py">test_get_swag.py</a>, which tests an e-commerce site:</p>
|
89
105
|
|
90
106
|
```python
|
91
107
|
from seleniumbase import BaseCase
|
@@ -111,7 +127,7 @@ class MyTestClass(BaseCase):
|
|
111
127
|
|
112
128
|
> `pytest test_get_swag.py`
|
113
129
|
|
114
|
-
<a href="https://github.com/seleniumbase/SeleniumBase/blob/master/examples/test_get_swag.py"><img src="https://seleniumbase.github.io/cdn/gif/fast_swag_2.gif" alt="SeleniumBase Test" title="SeleniumBase Test" width="
|
130
|
+
<a href="https://github.com/seleniumbase/SeleniumBase/blob/master/examples/test_get_swag.py"><img src="https://seleniumbase.github.io/cdn/gif/fast_swag_2.gif" alt="SeleniumBase Test" title="SeleniumBase Test" width="480" /></a>
|
115
131
|
|
116
132
|
> (The default browser is ``--chrome`` if not set.)
|
117
133
|
|
@@ -123,7 +139,7 @@ class MyTestClass(BaseCase):
|
|
123
139
|
pytest test_coffee_cart.py --demo
|
124
140
|
```
|
125
141
|
|
126
|
-
<p align="left"><a href="https://seleniumbase.io/coffee/" target="_blank"><img src="https://seleniumbase.github.io/cdn/gif/coffee_cart.gif" width="
|
142
|
+
<p align="left"><a href="https://seleniumbase.io/coffee/" target="_blank"><img src="https://seleniumbase.github.io/cdn/gif/coffee_cart.gif" width="480" alt="SeleniumBase Coffee Cart Test" title="SeleniumBase Coffee Cart Test" /></a></p>
|
127
143
|
|
128
144
|
> <p>(<code translate="no">--demo</code> mode slows down tests and highlights actions)</p>
|
129
145
|
|
@@ -137,7 +153,7 @@ pytest test_coffee_cart.py --demo
|
|
137
153
|
pytest test_demo_site.py
|
138
154
|
```
|
139
155
|
|
140
|
-
<p align="left"><a href="https://seleniumbase.io/demo_page" target="_blank"><img src="https://seleniumbase.github.io/cdn/gif/demo_page_5.gif" width="
|
156
|
+
<p align="left"><a href="https://seleniumbase.io/demo_page" target="_blank"><img src="https://seleniumbase.github.io/cdn/gif/demo_page_5.gif" width="480" alt="SeleniumBase Example" title="SeleniumBase Example" /></a></p>
|
141
157
|
|
142
158
|
> Easy to type, click, select, toggle, drag & drop, and more.
|
143
159
|
|
@@ -393,7 +409,7 @@ cd examples/
|
|
393
409
|
pytest my_first_test.py
|
394
410
|
```
|
395
411
|
|
396
|
-
<a href="https://github.com/seleniumbase/SeleniumBase/blob/master/examples/my_first_test.py"><img src="https://seleniumbase.github.io/cdn/gif/fast_swag_2.gif" alt="SeleniumBase Test" title="SeleniumBase Test" width="
|
412
|
+
<a href="https://github.com/seleniumbase/SeleniumBase/blob/master/examples/my_first_test.py"><img src="https://seleniumbase.github.io/cdn/gif/fast_swag_2.gif" alt="SeleniumBase Test" title="SeleniumBase Test" width="480" /></a>
|
397
413
|
|
398
414
|
<p align="left"><b>Here's the full code for <a href="https://github.com/seleniumbase/SeleniumBase/blob/master/examples/my_first_test.py">my_first_test.py</a>:</b></p>
|
399
415
|
|
@@ -811,7 +827,7 @@ You can run it from the ``examples/`` folder like this:
|
|
811
827
|
pytest test_fail.py
|
812
828
|
```
|
813
829
|
|
814
|
-
🔵 You'll notice that a logs folder,
|
830
|
+
🔵 You'll notice that a logs folder, ``./latest_logs/``, was created to hold information (and screenshots) about the failing test. During test runs, past results get moved to the archived_logs folder if you have ARCHIVE_EXISTING_LOGS set to True in [settings.py](https://github.com/seleniumbase/SeleniumBase/blob/master/seleniumbase/config/settings.py), or if your run tests with ``--archive-logs``. If you choose not to archive existing logs, they will be deleted and replaced by the logs of the latest test run.
|
815
831
|
|
816
832
|
--------
|
817
833
|
|
@@ -3,7 +3,7 @@ packaging>=24.2
|
|
3
3
|
setuptools~=70.2;python_version<"3.10"
|
4
4
|
setuptools>=75.6.0;python_version>="3.10"
|
5
5
|
wheel>=0.45.1
|
6
|
-
attrs>=24.
|
6
|
+
attrs>=24.3.0
|
7
7
|
certifi>=2024.12.14
|
8
8
|
exceptiongroup>=1.2.2
|
9
9
|
websockets~=13.1;python_version<"3.9"
|
@@ -14,7 +14,10 @@ mycdp>=1.1.0
|
|
14
14
|
pynose>=1.5.3
|
15
15
|
platformdirs>=4.3.6
|
16
16
|
typing-extensions>=4.12.2
|
17
|
-
sbvirtualdisplay>=1.
|
17
|
+
sbvirtualdisplay>=1.4.0
|
18
|
+
MarkupSafe==2.1.5;python_version<"3.9"
|
19
|
+
MarkupSafe>=3.0.2;python_version>="3.9"
|
20
|
+
Jinja2>=3.1.5
|
18
21
|
six>=1.17.0
|
19
22
|
parse>=1.20.2
|
20
23
|
parse-type>=0.6.4
|
@@ -26,9 +29,9 @@ tabcompleter>=1.4.0
|
|
26
29
|
pdbp>=1.6.1
|
27
30
|
idna==3.10
|
28
31
|
chardet==5.2.0
|
29
|
-
charset-normalizer==3.4.
|
32
|
+
charset-normalizer==3.4.1
|
30
33
|
urllib3>=1.26.20,<2;python_version<"3.10"
|
31
|
-
urllib3>=1.26.20,<2.
|
34
|
+
urllib3>=1.26.20,<2.4.0;python_version>="3.10"
|
32
35
|
requests==2.32.3
|
33
36
|
sniffio==1.3.1
|
34
37
|
h11==0.14.0
|
@@ -15,6 +15,11 @@ if sys.version_info >= (3, 11):
|
|
15
15
|
py311_patch2 = constants.PatchPy311.PATCH
|
16
16
|
|
17
17
|
|
18
|
+
def __is_cdp_swap_needed(driver):
|
19
|
+
"""If the driver is disconnected, use a CDP method when available."""
|
20
|
+
return shared_utils.is_cdp_swap_needed(driver)
|
21
|
+
|
22
|
+
|
18
23
|
def log_screenshot(test_logpath, driver, screenshot=None, get=False):
|
19
24
|
screenshot_name = settings.SCREENSHOT_NAME
|
20
25
|
screenshot_path = os.path.join(test_logpath, screenshot_name)
|
@@ -356,7 +361,11 @@ def log_page_source(test_logpath, driver, source=None):
|
|
356
361
|
page_source = source
|
357
362
|
else:
|
358
363
|
try:
|
359
|
-
page_source =
|
364
|
+
page_source = None
|
365
|
+
if __is_cdp_swap_needed(driver):
|
366
|
+
page_source = driver.cdp.get_page_source()
|
367
|
+
else:
|
368
|
+
page_source = driver.page_source
|
360
369
|
page_source = get_html_source_with_base_href(driver, page_source)
|
361
370
|
except Exception:
|
362
371
|
source = constants.Warnings.PAGE_SOURCE_UNDEFINED
|
@@ -448,7 +457,11 @@ def get_test_name(test):
|
|
448
457
|
|
449
458
|
def get_last_page(driver):
|
450
459
|
try:
|
451
|
-
last_page =
|
460
|
+
last_page = None
|
461
|
+
if __is_cdp_swap_needed(driver):
|
462
|
+
last_page = driver.cdp.get_current_url()
|
463
|
+
else:
|
464
|
+
last_page = driver.current_url
|
452
465
|
except Exception:
|
453
466
|
last_page = "[WARNING! Browser Not Open!]"
|
454
467
|
if len(last_page) < 5:
|
@@ -127,14 +127,14 @@ class CDPMethods():
|
|
127
127
|
def add_handler(self, event, handler):
|
128
128
|
self.page.add_handler(event, handler)
|
129
129
|
|
130
|
-
def find_element(
|
131
|
-
self, selector, best_match=False, timeout=settings.SMALL_TIMEOUT
|
132
|
-
):
|
130
|
+
def find_element(self, selector, best_match=False, timeout=None):
|
133
131
|
"""Similar to select(), but also finds elements by text content.
|
134
132
|
When using text-based searches, if best_match=False, then will
|
135
133
|
find the first element with the text. If best_match=True, then
|
136
134
|
if multiple elements have that text, then will use the element
|
137
135
|
with the closest text-length to the text being searched for."""
|
136
|
+
if not timeout:
|
137
|
+
timeout = settings.SMALL_TIMEOUT
|
138
138
|
self.__add_light_pause()
|
139
139
|
selector = self.__convert_to_css_if_xpath(selector)
|
140
140
|
early_failure = False
|
@@ -167,12 +167,12 @@ class CDPMethods():
|
|
167
167
|
self.__slow_mode_pause_if_set()
|
168
168
|
return element
|
169
169
|
|
170
|
-
def find_element_by_text(
|
171
|
-
self, text, tag_name=None, timeout=settings.SMALL_TIMEOUT
|
172
|
-
):
|
170
|
+
def find_element_by_text(self, text, tag_name=None, timeout=None):
|
173
171
|
"""Returns an element by matching text.
|
174
172
|
Optionally, provide a tag_name to narrow down the search to an
|
175
173
|
element with the given tag. (Eg: a, button, div, script, span)"""
|
174
|
+
if not timeout:
|
175
|
+
timeout = settings.SMALL_TIMEOUT
|
176
176
|
self.__add_light_pause()
|
177
177
|
time_now = time.time()
|
178
178
|
self.assert_text(text, timeout=timeout)
|
@@ -218,7 +218,9 @@ class CDPMethods():
|
|
218
218
|
% (text, tag_name, timeout, plural)
|
219
219
|
)
|
220
220
|
|
221
|
-
def find_all(self, selector, timeout=
|
221
|
+
def find_all(self, selector, timeout=None):
|
222
|
+
if not timeout:
|
223
|
+
timeout = settings.SMALL_TIMEOUT
|
222
224
|
self.__add_light_pause()
|
223
225
|
selector = self.__convert_to_css_if_xpath(selector)
|
224
226
|
elements = self.loop.run_until_complete(
|
@@ -272,8 +274,10 @@ class CDPMethods():
|
|
272
274
|
updated_elements.append(element)
|
273
275
|
return updated_elements
|
274
276
|
|
275
|
-
def select(self, selector, timeout=
|
277
|
+
def select(self, selector, timeout=None):
|
276
278
|
"""Similar to find_element(), but without text-based search."""
|
279
|
+
if not timeout:
|
280
|
+
timeout = settings.SMALL_TIMEOUT
|
277
281
|
self.__add_light_pause()
|
278
282
|
selector = self.__convert_to_css_if_xpath(selector)
|
279
283
|
if (":contains(" in selector):
|
@@ -307,7 +311,9 @@ class CDPMethods():
|
|
307
311
|
self.__slow_mode_pause_if_set()
|
308
312
|
return element
|
309
313
|
|
310
|
-
def select_all(self, selector, timeout=
|
314
|
+
def select_all(self, selector, timeout=None):
|
315
|
+
if not timeout:
|
316
|
+
timeout = settings.SMALL_TIMEOUT
|
311
317
|
self.__add_light_pause()
|
312
318
|
selector = self.__convert_to_css_if_xpath(selector)
|
313
319
|
elements = self.loop.run_until_complete(
|
@@ -319,10 +325,14 @@ class CDPMethods():
|
|
319
325
|
updated_elements.append(element)
|
320
326
|
return updated_elements
|
321
327
|
|
322
|
-
def find_elements(self, selector, timeout=
|
328
|
+
def find_elements(self, selector, timeout=None):
|
329
|
+
if not timeout:
|
330
|
+
timeout = settings.SMALL_TIMEOUT
|
323
331
|
return self.select_all(selector, timeout=timeout)
|
324
332
|
|
325
|
-
def find_visible_elements(self, selector, timeout=
|
333
|
+
def find_visible_elements(self, selector, timeout=None):
|
334
|
+
if not timeout:
|
335
|
+
timeout = settings.SMALL_TIMEOUT
|
326
336
|
visible_elements = []
|
327
337
|
elements = self.select_all(selector, timeout=timeout)
|
328
338
|
for element in elements:
|
@@ -587,12 +597,12 @@ class CDPMethods():
|
|
587
597
|
driver.cookies.load(*args, **kwargs)
|
588
598
|
)
|
589
599
|
|
590
|
-
def clear_cookies(self
|
600
|
+
def clear_cookies(self):
|
591
601
|
driver = self.driver
|
592
602
|
if hasattr(driver, "cdp_base"):
|
593
603
|
driver = driver.cdp_base
|
594
604
|
return self.loop.run_until_complete(
|
595
|
-
driver.cookies.clear(
|
605
|
+
driver.cookies.clear()
|
596
606
|
)
|
597
607
|
|
598
608
|
def sleep(self, seconds):
|
@@ -616,7 +626,9 @@ class CDPMethods():
|
|
616
626
|
self.page.evaluate(js_code)
|
617
627
|
)
|
618
628
|
|
619
|
-
def click(self, selector, timeout=
|
629
|
+
def click(self, selector, timeout=None):
|
630
|
+
if not timeout:
|
631
|
+
timeout = settings.SMALL_TIMEOUT
|
620
632
|
self.__slow_mode_pause_if_set()
|
621
633
|
element = self.find_element(selector, timeout=timeout)
|
622
634
|
element.scroll_into_view()
|
@@ -672,8 +684,10 @@ class CDPMethods():
|
|
672
684
|
except Exception:
|
673
685
|
break
|
674
686
|
|
675
|
-
def mouse_click(self, selector, timeout=
|
687
|
+
def mouse_click(self, selector, timeout=None):
|
676
688
|
"""(Attempt simulating a mouse click)"""
|
689
|
+
if not timeout:
|
690
|
+
timeout = settings.SMALL_TIMEOUT
|
677
691
|
self.__slow_mode_pause_if_set()
|
678
692
|
element = self.find_element(selector, timeout=timeout)
|
679
693
|
element.scroll_into_view()
|
@@ -771,7 +785,9 @@ class CDPMethods():
|
|
771
785
|
with suppress(Exception):
|
772
786
|
self.loop.run_until_complete(self.page.evaluate(js_code))
|
773
787
|
|
774
|
-
def send_keys(self, selector, text, timeout=
|
788
|
+
def send_keys(self, selector, text, timeout=None):
|
789
|
+
if not timeout:
|
790
|
+
timeout = settings.SMALL_TIMEOUT
|
775
791
|
self.__slow_mode_pause_if_set()
|
776
792
|
element = self.select(selector, timeout=timeout)
|
777
793
|
element.scroll_into_view()
|
@@ -781,8 +797,10 @@ class CDPMethods():
|
|
781
797
|
self.__slow_mode_pause_if_set()
|
782
798
|
self.loop.run_until_complete(self.page.wait())
|
783
799
|
|
784
|
-
def press_keys(self, selector, text, timeout=
|
800
|
+
def press_keys(self, selector, text, timeout=None):
|
785
801
|
"""Similar to send_keys(), but presses keys at human speed."""
|
802
|
+
if not timeout:
|
803
|
+
timeout = settings.SMALL_TIMEOUT
|
786
804
|
self.__slow_mode_pause_if_set()
|
787
805
|
element = self.select(selector, timeout=timeout)
|
788
806
|
element.scroll_into_view()
|
@@ -799,8 +817,10 @@ class CDPMethods():
|
|
799
817
|
self.__slow_mode_pause_if_set()
|
800
818
|
self.loop.run_until_complete(self.page.wait())
|
801
819
|
|
802
|
-
def type(self, selector, text, timeout=
|
820
|
+
def type(self, selector, text, timeout=None):
|
803
821
|
"""Similar to send_keys(), but clears the text field first."""
|
822
|
+
if not timeout:
|
823
|
+
timeout = settings.SMALL_TIMEOUT
|
804
824
|
self.__slow_mode_pause_if_set()
|
805
825
|
element = self.select(selector, timeout=timeout)
|
806
826
|
element.scroll_into_view()
|
@@ -812,8 +832,10 @@ class CDPMethods():
|
|
812
832
|
self.__slow_mode_pause_if_set()
|
813
833
|
self.loop.run_until_complete(self.page.wait())
|
814
834
|
|
815
|
-
def set_value(self, selector, text, timeout=
|
835
|
+
def set_value(self, selector, text, timeout=None):
|
816
836
|
"""Similar to send_keys(), but clears the text field first."""
|
837
|
+
if not timeout:
|
838
|
+
timeout = settings.SMALL_TIMEOUT
|
817
839
|
self.__slow_mode_pause_if_set()
|
818
840
|
selector = self.__convert_to_css_if_xpath(selector)
|
819
841
|
element = self.select(selector, timeout=timeout)
|
@@ -1036,7 +1058,9 @@ class CDPMethods():
|
|
1036
1058
|
coordinates["y"] = y if y else 0
|
1037
1059
|
return coordinates
|
1038
1060
|
|
1039
|
-
def get_element_rect(self, selector, timeout=
|
1061
|
+
def get_element_rect(self, selector, timeout=None):
|
1062
|
+
if not timeout:
|
1063
|
+
timeout = settings.SMALL_TIMEOUT
|
1040
1064
|
selector = self.__convert_to_css_if_xpath(selector)
|
1041
1065
|
self.select(selector, timeout=timeout)
|
1042
1066
|
self.__add_light_pause()
|
@@ -1049,23 +1073,29 @@ class CDPMethods():
|
|
1049
1073
|
)
|
1050
1074
|
return coordinates
|
1051
1075
|
|
1052
|
-
def get_element_size(self, selector):
|
1053
|
-
|
1076
|
+
def get_element_size(self, selector, timeout=None):
|
1077
|
+
if not timeout:
|
1078
|
+
timeout = settings.SMALL_TIMEOUT
|
1079
|
+
element_rect = self.get_element_rect(selector, timeout=timeout)
|
1054
1080
|
coordinates = {}
|
1055
1081
|
coordinates["width"] = element_rect["width"]
|
1056
1082
|
coordinates["height"] = element_rect["height"]
|
1057
1083
|
return coordinates
|
1058
1084
|
|
1059
|
-
def get_element_position(self, selector):
|
1060
|
-
|
1085
|
+
def get_element_position(self, selector, timeout=None):
|
1086
|
+
if not timeout:
|
1087
|
+
timeout = settings.SMALL_TIMEOUT
|
1088
|
+
element_rect = self.get_element_rect(selector, timeout=timeout)
|
1061
1089
|
coordinates = {}
|
1062
1090
|
coordinates["x"] = element_rect["x"]
|
1063
1091
|
coordinates["y"] = element_rect["y"]
|
1064
1092
|
return coordinates
|
1065
1093
|
|
1066
|
-
def get_gui_element_rect(self, selector):
|
1094
|
+
def get_gui_element_rect(self, selector, timeout=None):
|
1067
1095
|
"""(Coordinates are relative to the screen. Not the window.)"""
|
1068
|
-
|
1096
|
+
if not timeout:
|
1097
|
+
timeout = settings.SMALL_TIMEOUT
|
1098
|
+
element_rect = self.get_element_rect(selector, timeout=timeout)
|
1069
1099
|
e_width = element_rect["width"]
|
1070
1100
|
e_height = element_rect["height"]
|
1071
1101
|
window_rect = self.get_window_rect()
|
@@ -1079,9 +1109,11 @@ class CDPMethods():
|
|
1079
1109
|
y = y + window_rect["scrollY"]
|
1080
1110
|
return ({"height": e_height, "width": e_width, "x": x, "y": y})
|
1081
1111
|
|
1082
|
-
def get_gui_element_center(self, selector):
|
1112
|
+
def get_gui_element_center(self, selector, timeout=None):
|
1083
1113
|
"""(Coordinates are relative to the screen. Not the window.)"""
|
1084
|
-
|
1114
|
+
if not timeout:
|
1115
|
+
timeout = settings.SMALL_TIMEOUT
|
1116
|
+
element_rect = self.get_gui_element_rect(selector, timeout=timeout)
|
1085
1117
|
e_width = element_rect["width"]
|
1086
1118
|
e_height = element_rect["height"]
|
1087
1119
|
e_x = element_rect["x"]
|
@@ -1629,9 +1661,9 @@ class CDPMethods():
|
|
1629
1661
|
return True
|
1630
1662
|
return False
|
1631
1663
|
|
1632
|
-
def wait_for_element_visible(
|
1633
|
-
|
1634
|
-
|
1664
|
+
def wait_for_element_visible(self, selector, timeout=None):
|
1665
|
+
if not timeout:
|
1666
|
+
timeout = settings.SMALL_TIMEOUT
|
1635
1667
|
try:
|
1636
1668
|
self.select(selector, timeout=timeout)
|
1637
1669
|
except Exception:
|
@@ -1642,8 +1674,10 @@ class CDPMethods():
|
|
1642
1674
|
time.sleep(0.1)
|
1643
1675
|
raise Exception("Element {%s} was not visible!" % selector)
|
1644
1676
|
|
1645
|
-
def assert_element(self, selector, timeout=
|
1677
|
+
def assert_element(self, selector, timeout=None):
|
1646
1678
|
"""Same as assert_element_visible()"""
|
1679
|
+
if not timeout:
|
1680
|
+
timeout = settings.SMALL_TIMEOUT
|
1647
1681
|
try:
|
1648
1682
|
self.select(selector, timeout=timeout)
|
1649
1683
|
except Exception:
|
@@ -1654,8 +1688,10 @@ class CDPMethods():
|
|
1654
1688
|
time.sleep(0.1)
|
1655
1689
|
raise Exception("Element {%s} was not visible!" % selector)
|
1656
1690
|
|
1657
|
-
def assert_element_visible(self, selector, timeout=
|
1691
|
+
def assert_element_visible(self, selector, timeout=None):
|
1658
1692
|
"""Same as assert_element()"""
|
1693
|
+
if not timeout:
|
1694
|
+
timeout = settings.SMALL_TIMEOUT
|
1659
1695
|
try:
|
1660
1696
|
self.select(selector, timeout=timeout)
|
1661
1697
|
except Exception:
|
@@ -1666,16 +1702,20 @@ class CDPMethods():
|
|
1666
1702
|
time.sleep(0.1)
|
1667
1703
|
raise Exception("Element {%s} was not visible!" % selector)
|
1668
1704
|
|
1669
|
-
def assert_element_present(self, selector, timeout=
|
1705
|
+
def assert_element_present(self, selector, timeout=None):
|
1670
1706
|
"""Assert element is present in the DOM. (Visibility NOT required)"""
|
1707
|
+
if not timeout:
|
1708
|
+
timeout = settings.SMALL_TIMEOUT
|
1671
1709
|
try:
|
1672
1710
|
self.select(selector, timeout=timeout)
|
1673
1711
|
except Exception:
|
1674
1712
|
raise Exception("Element {%s} was not found!" % selector)
|
1675
1713
|
return True
|
1676
1714
|
|
1677
|
-
def assert_element_absent(self, selector, timeout=
|
1715
|
+
def assert_element_absent(self, selector, timeout=None):
|
1678
1716
|
"""Assert element is not present in the DOM."""
|
1717
|
+
if not timeout:
|
1718
|
+
timeout = settings.SMALL_TIMEOUT
|
1679
1719
|
start_ms = time.time() * 1000.0
|
1680
1720
|
stop_ms = start_ms + (timeout * 1000.0)
|
1681
1721
|
for i in range(int(timeout * 10)):
|
@@ -1693,10 +1733,10 @@ class CDPMethods():
|
|
1693
1733
|
% (selector, timeout, plural)
|
1694
1734
|
)
|
1695
1735
|
|
1696
|
-
def assert_element_not_visible(
|
1697
|
-
self, selector, timeout=settings.SMALL_TIMEOUT
|
1698
|
-
):
|
1736
|
+
def assert_element_not_visible(self, selector, timeout=None):
|
1699
1737
|
"""Assert element is not visible on page. (May still be in DOM)"""
|
1738
|
+
if not timeout:
|
1739
|
+
timeout = settings.SMALL_TIMEOUT
|
1700
1740
|
start_ms = time.time() * 1000.0
|
1701
1741
|
stop_ms = start_ms + (timeout * 1000.0)
|
1702
1742
|
for i in range(int(timeout * 10)):
|
@@ -1791,9 +1831,9 @@ class CDPMethods():
|
|
1791
1831
|
if expected not in actual:
|
1792
1832
|
raise Exception(error % (expected, actual))
|
1793
1833
|
|
1794
|
-
def assert_text(
|
1795
|
-
|
1796
|
-
|
1834
|
+
def assert_text(self, text, selector="body", timeout=None):
|
1835
|
+
if not timeout:
|
1836
|
+
timeout = settings.SMALL_TIMEOUT
|
1797
1837
|
start_ms = time.time() * 1000.0
|
1798
1838
|
stop_ms = start_ms + (timeout * 1000.0)
|
1799
1839
|
text = text.strip()
|
@@ -1816,9 +1856,9 @@ class CDPMethods():
|
|
1816
1856
|
% (text, selector, element.text_all)
|
1817
1857
|
)
|
1818
1858
|
|
1819
|
-
def assert_exact_text(
|
1820
|
-
|
1821
|
-
|
1859
|
+
def assert_exact_text(self, text, selector="body", timeout=None):
|
1860
|
+
if not timeout:
|
1861
|
+
timeout = settings.SMALL_TIMEOUT
|
1822
1862
|
start_ms = time.time() * 1000.0
|
1823
1863
|
stop_ms = start_ms + (timeout * 1000.0)
|
1824
1864
|
text = text.strip()
|