How do I know if checked box is checked in splinter? !!

23 views
Skip to first unread message

Yuzhen Wang

unread,
Aug 11, 2019, 10:37:23 AM8/11/19
to splinter-users

def cleanCart():
    # while True:
    b.find_by_id("toggle-checkboxes_down").click()
    query = b.find_by_id("toggle-checkboxes_down").is_selected();
    print(query)
    if query == "checked":
        print("check okay")
    else:
        print("check failed)










I googled around and found selenium solution,
What about splinter? I need verfiy this, so frustrating!
 

Gabriel Lima de Oliveira

unread,
Aug 12, 2019, 7:07:08 AM8/12/19
to splinte...@googlegroups.com

--
You received this message because you are subscribed to the Google Groups "splinter-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to splinter-user...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/splinter-users/1e48ab34-fc28-4342-83ca-fd0b00556730%40googlegroups.com.
Reply all
Reply to author
Forward
0 new messages