def start_selenium_server(selenium_jar_location, port, file_path):

    process_args = None
    process_args = ["java", "-jar", selenium_jar_location, "-port", port]
    selenium_exec = subprocess.Popen(
        process_args,
        stdout=open("%s/log_seleniumOutput.txt" % (file_path), "w"),
        stderr=open("%s/log_seleniumError.txt" % (file_path), "w"))
    time.sleep(2)
    if selenium_exec.poll() == 1:
        raise StartSeleniumException("The selenium server did not start."
                                     "Do you already have one runing?")
    return selenium_exec
Test that ignore_first_depends_on_past doesn't affect results
dataset/ETHPy150Open mdmintz/SeleniumBase/seleniumbase/core/selenium_launcher.py/start_selenium_server--crossover with--dataset/ETHPy150Open airbnb/airflow/tests/jobs.py/SchedulerJobTest.test_dagrun_deadlock_ignore_depends_on_past