aboutsummaryrefslogtreecommitdiffhomepage
path: root/tests/attrMangle.py
blob: d3b24244e22bbc30be50c766a61b7629e8d94299 (plain)
1
2
3
4
5
6
7
8
9
10
11
import unittest
import base

class Suite(base.Base):
    def test_1(self):
        """Test case 1"""
        self.start()
        el = self.xpath('goofy[@name eq "beppo" and @data-role eq "excellence"]')
        el.click()
        alert = self.driver.switch_to.alert
        self.assertEqual("You clicked it!  That's some fancy shooting!", alert.text)