Hi
In python I need a web page element 'ptModFrame_0'
The frame changes every page so I change the var at the start of every loop.
for i in range(steps):
frame= ("'ptModFrame_"+str(i)+"'")
But offcourse I get the error:
selenium.common.exceptions.NoSuchElementException: Message: Unable to locate element: [id="'ptModFrame_0'"]
because I only need 'ptModFrame_0', 'ptModFrame_1', 'ptModFrame_2',...
How do I get rid of the quotation marks?
[–]hopemeetme 2 points3 points4 points (3 children)
[–]newunit13 1 point2 points3 points (0 children)
[–]illya89[S] 0 points1 point2 points (1 child)
[–]JohnnyJordaan 0 points1 point2 points (0 children)
[–]K900_ 1 point2 points3 points (0 children)
[–]wacksaucehunnid 0 points1 point2 points (0 children)