Selenium_Webdriver_Python_Dynamic Table

Hi Guys,

I am new to Python Selenium.  I am trying to select the HTML table element dynamically. i can easily fetch cell value. But, problem is that i am not able to convert in text format.  when i tried to insert (.text) function, no suggestion came and program got abended.

 

 

Output — >

[<selenium.webdriver.remote.webelement.WebElement (session=”e98811256542d984bedb0d22c63e0fe3″, element=”0.6441384165113153-6″)>, <selenium.webdriver.remote.webelement.WebElement (session=”e98811256542d984bedb0d22c63e0fe3″, element=”0.6441384165113153-7″)>, <selenium.webdriver.remote.webelement.WebElement (session=”e98811256542d984bedb0d22c63e0fe3″, element=”0.6441384165113153-8″)>, <selenium.webdriver.remote.webelement.WebElement (session=”e98811256542d984bedb0d22c63e0fe3″, element=”0.6441384165113153-9″)>, <selenium.webdriver.remote.webelement.WebElement (session=”e98811256542d984bedb0d22c63e0fe3″, element=”0.6441384165113153-10″)>, <selenium.webdriver.remote.webelement.WebElement (session=”e98811256542d984bedb0d22c63e0fe3″, element=”0.6441384165113153-11″)>]
[<selenium.webdriver.remote.webelement.WebElement (session=”e98811256542d984bedb0d22c63e0fe3″, element=”0.6441384165113153-12″)>]
7
[<selenium.webdriver.remote.webelement.WebElement (session=”e98811256542d984bedb0d22c63e0fe3″, element=”0.6441384165113153-13″)>, <selenium.webdriver.remote.webelement.WebElement (session=”e98811256542d984bedb0d22c63e0fe3″, element=”0.6441384165113153-14″)>, <selenium.webdriver.remote.webelement.WebElement (session=”e98811256542d984bedb0d22c63e0fe3″, element=”0.6441384165113153-15″)>, <selenium.webdriver.remote.webelement.WebElement (session=”e98811256542d984bedb0d22c63e0fe3″, element=”0.6441384165113153-16″)>, <selenium.webdriver.remote.webelement.WebElement (session=”e98811256542d984bedb0d22c63e0fe3″, element=”0.6441384165113153-17″)>, <selenium.webdriver.remote.webelement.WebElement (session=”e98811256542d984bedb0d22c63e0fe3″, element=”0.6441384165113153-18″)>]
[<selenium.webdriver.remote.webelement.WebElement (session=”e98811256542d984bedb0d22c63e0fe3″, element=”0.6441384165113153-19″)>]
7
[<selenium.webdriver.remote.webelement.WebElement (session=”e98811256542d984bedb0d22c63e0fe3″, element=”0.6441384165113153-20″)>, <selenium.webdriver.remote.webelement.WebElement (session=”e98811256542d984bedb0d22c63e0fe3″, element=”0.6441384165113153-21″)>, <selenium.webdriver.remote.webelement.WebElement (session=”e98811256542d984bedb0d22c63e0fe3″, element=”0.6441384165113153-22″)>, <selenium.webdriver.remote.webelement.WebElement (session=”e98811256542d984bedb0d22c63e0fe3″, element=”0.6441384165113153-23″)>, <selenium.webdriver.remote.webelement.WebElement (session=”e98811256542d984bedb0d22c63e0fe3″, element=”0.6441384165113153-24″)>, <selenium.webdriver.remote.webelement.WebElement (session=”e98811256542d984bedb0d22c63e0fe3″, element=”0.6441384165113153-25″)>]
[<selenium.webdriver.remote.webelement.WebElement (session=”e98811256542d984bedb0d22c63e0fe3″, element=”0.6441384165113153-26″)>]
7
[<selenium.webdriver.remote.webelement.WebElement (session=”e98811256542d984bedb0d22c63e0fe3″, element=”0.6441384165113153-27″)>, <selenium.webdriver.remote.webelement.WebElement (session=”e98811256542d984bedb0d22c63e0fe3″, element=”0.6441384165113153-28″)>, <selenium.webdriver.remote.webelement.WebElement (session=”e98811256542d984bedb0d22c63e0fe3″, element=”0.6441384165113153-29″)>, <selenium.webdriver.remote.webelement.WebElement (session=”e98811256542d984bedb0d22c63e0fe3″, element=”0.6441384165113153-30″)>, <selenium.webdriver.remote.webelement.WebElement (session=”e98811256542d984bedb0d22c63e0fe3″, element=”0.6441384165113153-31″)>, <selenium.webdriver.remote.webelement.WebElement (session=”e98811256542d984bedb0d22c63e0fe3″, element=”0.6441384165113153-32″)>]
[<selenium.webdriver.remote.webelement.WebElement (session=”e98811256542d984bedb0d22c63e0fe3″, element=”0.6441384165113153-33″)>]
7

 

Any help will be appreciated.

 

 

Default Asked on March 20, 2017 in Selenium WebDriver.
Add Comment
  • 0 Answer(s)
  • Your Answer

    By posting your answer, you agree to the privacy policy and terms of service.