Posts by Mario Fabre • 93 points
8 posts
-
1
votes2
answers16
viewsA: How to enable firefox extensions in Selenium?
I managed to find out, to add a firefox extension in Python Selenium is like this: options = Options() browser = webdriver.Firefox(options=options) browser.install_addon('caminho do arquivo .xpi')…
-
1
votes2
answers16
viewsQ: How to enable firefox extensions in Selenium?
I installed an extension in firefox but when Selenium opens firefox it starts without the extension, is there any way that Selenium can start firefox with the extension that is installed or make it…
-
1
votes0
answers16
viewsQ: Error installing Pip install mod-wsgi-httpd
I am trying to install the mod-wsgi-httpd package via the Pip command, but am getting the following error: ... File "c:\python39\lib\urllib\request.py", line 641, in http_error_default raise…
-
0
votes1
answer33
viewsQ: Make a query with pymongo filtering by a string ignoring uppercase and minuscule letters
I need to make a query in a database in Mongodb using the pymongo library in python, the query I am making is as follows: dbCliente.find({"nome": "carlos"}) I want to return the client whose name is…
-
3
votes2
answers76
viewsA: How to prevent a div with flex display shrinks the child elements?
After asking the question I continued to do some tests and managed to solve the "problem". Just set the property flex-shrink: 0; in the child elements: .container { width: 200px; height: 50px;…
-
2
votes2
answers76
viewsQ: How to prevent a div with flex display shrinks the child elements?
I made the following example code: .container { width: 200px; height: 50px; background-color: #f00; display: flex; flex-direction: row; overflow-x: scroll; } .div1 { width: 150px; background-color:…
-
0
votes1
answer221
viewsQ: Access the contents of an iframe via javascript
I have an html document named frame.html with the following code: <html> <head> <title>frame</title> </head> <body> <span id="teste">teste</span>…
-
0
votes1
answer401
viewsQ: How to calculate value + sum(value) within a select
Hello I plan to make a select in that direction: select NUM_PEDIDO, VALOR, ((VALOR/ sum(VALOR)) * 100) as PORC from PEDIDO Obviously this will return me this error: (... is invalid in the select…