import time

link = "http://selenium1py.pythonanywhere.com//catalogue/coders-at-work_207/"


def test_item_should_have_button_add_to_basket(browser):
    browser.get(link)
    # time.sleep(30)
    add_to_card = browser.find_element_by_css_selector("#add_to_basket_form button")
    assert add_to_card is not None

1244d685028925af1852ce9800b36473a89a050c
<mask token>

<mask token>


def test_item_should_have_button_add_to_basket(browser):
    browser.get(link)
    add_to_card = browser.find_element_by_css_selector(
        '#add_to_basket_form button')
    assert add_to_card is not None

<mask token>
link = 'http://selenium1py.pythonanywhere.com//catalogue/coders-at-work_207/'


def test_item_should_have_button_add_to_basket(browser):
    browser.get(link)
    add_to_card = browser.find_element_by_css_selector(
        '#add_to_basket_form button')
    assert add_to_card is not None

import time
link = 'http://selenium1py.pythonanywhere.com//catalogue/coders-at-work_207/'


def test_item_should_have_button_add_to_basket(browser):
    browser.get(link)
    add_to_card = browser.find_element_by_css_selector(
        '#add_to_basket_form button')
    assert add_to_card is not None

import time

link = "http://selenium1py.pythonanywhere.com//catalogue/coders-at-work_207/"


def test_item_should_have_button_add_to_basket(browser):
    browser.get(link)
    # time.sleep(30)
    add_to_card = browser.find_element_by_css_selector("#add_to_basket_form button")
    assert add_to_card is not None
