Questions tagged as 'xpath'

0
answers

Variable xpath saved in Mongo

I have tried in many ways, but I believe that I am going the wrong way. I would like to save the XPATH in Mongodb and import in the item () of the function parse. Is there any way to do it?     
asked by 20.04.2018 / 23:39
0
answers

Split () in a generic Xpath list with python

How can I make a split within a generic list generated through an xpath function in python? When I generate the xpath the string comes all in a single line and I need to separate them as \ n does. abmedList = abmedlistas.xpath('.//p/text()')...
asked by 26.04.2018 / 15:44
0
answers

Google Spreadsheets: importxml, multiple rows and columns

I'm trying to extract the names of federal deputies on the Chamber's website with importxml , eg: =IMPORTXML("http://www.camara.leg.br/Internet/deputado/Dep_Detalhe.asp?id=5310518#";"/html/body/div[2]/div/div/div/div/div/div/div[1]/ul/li...
asked by 05.04.2018 / 08:44
2
answers

I need to get the ID of one of the elements inside a combobox

I have the following X path: //*[@id="selectDashboard"] inside that there are some ID's that would be of certain Dashboard's, how do I get these guys inside the Xpath? HTML code of the dashboard with an ID inside it: and also consider tha...
asked by 13.11.2017 / 20:19
0
answers

How do I get an element with the same properties on a page?

I'm not sure how to get an element of the type that repeats within the same page. I tried using the following XPath's that were validated in FirePath, but I was not successful when I ran my tests through selenium. //div[@id='selectGenericMu...
asked by 26.07.2017 / 21:40
1
answer

String is not a valid XPath expression - Selenium WebDriver

Hello, I'm using the following expression in xpath, but an invalid xpath syntax error occurs. When I inspect the element in the Mozilla firepath, it acknowledges it, but on test execution it fails. Follows: By.xpath ("// * [@ class = 'f...
asked by 26.04.2017 / 20:40
2
answers

CHANGING AND READING DIRECTORIES IN C #

I'm developing a C # project, which uses python scripts as the engine (I did not use IronPython because of its limitations, I work with pandas), what I do is simply execute the script through a PROCESS in C #, passing the python.exe directory an...
asked by 13.09.2018 / 17:44