def test_suggestions(driver):
    with pytest.raises(NoSuchElementException) as excinfo:
        driver.find_element_by_id('some_non_exists_id')
    assert 'did you mean id=somepage?' in str(excinfo.value)
dataset/ETHPy150Open horejsek/python-webdriverwrapper/tests/exceptions.py/test_suggestions/original