def is_element_present(driver, selector, by=By.CSS_SELECTOR):
    try:
        driver.find_element(by=by, value=selector)
        return True
    except Exception:
        return False
Return the content-transfer-encoding used for body encoding.
dataset/ETHPy150Open mdmintz/SeleniumBase/seleniumbase/fixtures/page_actions.py/is_element_present--crossover with--dataset/ETHPy150Open OpenCobolIDE/OpenCobolIDE/open_cobol_ide/extlibs/future/backports/email/charset.py/Charset.get_body_encoding