A Selenium test must verify GDPR cookie consent compliance. Which sequence of assertions is correct?
-
A
On first visit, assert consent banner is visible and no analytics cookies are set; after accepting, assert analytics cookies are present
-
B
Assert all cookies are set on page load, then check banner visibility
-
C
Verify that the banner disappears after 5 seconds automatically
-
D
Check that the banner text is at least 200 characters