Skip to content

Commit

Permalink
fix webelement find_element(s) unicode issue in python 2.7
Browse files Browse the repository at this point in the history
  • Loading branch information
lukeis committed Oct 21, 2013
1 parent 7de29a5 commit 3b8f4c8
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions py/selenium/webdriver/remote/webelement.py
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,11 @@
from selenium.webdriver.common.by import By
from selenium.webdriver.common.keys import Keys

try:
str = basestring
except NameError:
pass


class WebElement(object):
"""Represents an HTML element.
Expand Down

0 comments on commit 3b8f4c8

Please sign in to comment.