Posts by Filipe.C • 105 points
9 posts
-
0
votes1
answer475
viewsQ: Input with equal class Lenium
I am trying to fill out an online form automatically and the fields are in the same class, using Selenium and python I can fill in the first field with the campo01 =…
-
0
votes2
answers2537
viewsQ: Page with Smooth Scroll
I’m linking the pages to make a smooth scroll between the internal links but it’s not working. Javascript <script…
-
0
votes1
answer180
viewsQ: How to move the i element in css?
How could I do so that all icons could be left of each label? They are inside the 'i' element that is inside a div. HTML <h1 class="h3 mb-3 font-weight-normal">FALE CONOSCO</h1>…
-
1
votes2
answers2471
viewsQ: How to select JSON elements with Python?
I’m using a news API, it returns me a JSON file: import json import requests url = ('https://newsapi.org/v2/top-headlines?' 'country=us&''apiKey=be7b904493554491afde83281651f05a') response =…
-
0
votes0
answers38
viewsQ: Doubt about Selenium and python
I’m making a bot for instagram, comes certain part of the page I have a list of people with the "follow" button on the side. made that code: bot = self.bot…
-
1
votes1
answer68
viewsQ: compare string
I have an input with the name "city" which is a string and I need to make sure that if the user enters a number or does not type anything he receives an error message, as I could do? Follows the…
-
1
votes1
answer1336
viewsQ: Load Chrome profile in Selenium
I’m trying to upload my Chrome profile but can’t, which is missing? from selenium import webdriver from selenium.webdriver.chrome.options import Options class Teste: def __init__(self): self.driver…
-
5
votes2
answers1797
viewsQ: Is there any way to decrease the amount of Else and if?
I should create the conditions for enrolling students based on their age, I was wondering if there is any way to decrease the amount of if in that part of the code: int idade =…
-
0
votes1
answer121
viewsQ: tuple Parameter unpacking is not supported in python 3
I started studying Python now and came across this mistake tuple parameter unpacking is not supported in python 3 Below is the excerpt of the code: #cria uma lista(user_id, numero_de_amigos)…