Search Results
|
Post |
Author |
Forum |
Replies |
Views |
Posted
[asc]
|
|
|
Thread: Read and write active Excel file
Post: Read and write active Excel file
Hi, is it possible to read and write an active Excel workbook? All I have found so far, is either create a new Excel and write inn, or provide a path to an Excel file, and then read / write (but the f... |
|
euras |
General Coding Help |
4 |
3,484 |
Jun-27-2021, 07:58 PM |
|
|
Thread: WebDriverWait improved function
Post: WebDriverWait improved function
hi guys,
I'm trying to create some kind of improved WebDriverWait function.
the problem I face automating a webpage is that it requires that ugly description for each WebDriverWait command, if you don... |
|
euras |
Web Scraping & Web Development |
0 |
1,483 |
Jun-02-2021, 01:40 PM |
|
|
Thread: Tkinter reduce OptionMenu height
Post: RE: Tkinter reduce OptionMenu height
I changed OptionMenu with Combobox, turned off the mouse roll affect, and now I try to find how to set a background color for those Comboboxes. Now they are white, I want them to make a little bit mor... |
|
euras |
GUI |
2 |
4,652 |
May-25-2021, 09:14 PM |
|
|
Thread: Tkinter reduce OptionMenu height
Post: Tkinter reduce OptionMenu height
Hi, is there a way to reduce OptionMenu height? Mine are equal to height=1, but they looks still bigger than the rest of Entry. It does not look very pleasant :/
# pip install tkcalendar
# pip instal... |
|
euras |
GUI |
2 |
4,652 |
May-25-2021, 04:43 PM |
|
|
Thread: cannot print DateEntry date
Post: RE: cannot print DateEntry date
Thank you, Yoriz! looks like now it works as I want. .place() is a bit annoying, when you need to set every element by defined x,y axis. In Autohotkey I found it more user-friendly, when you can just ... |
|
euras |
GUI |
4 |
2,635 |
May-20-2021, 07:56 PM |
|
|
Thread: cannot print DateEntry date
Post: RE: cannot print DateEntry date
thank you, Yoriz. No I see that .get_date() was highlighted as a function, but it still does not give me an output. Maybe the syntax is wrong for the output?
import tkinter as tk
from tkinter import *... |
|
euras |
GUI |
4 |
2,635 |
May-20-2021, 04:36 PM |
|
|
Thread: cannot print DateEntry date
Post: cannot print DateEntry date
Can someone help me with DateEntry, printing a value? Now I'm stuck on this part and for some reason .get_date() does not work :/
import tkinter as tk
from tkinter import *
from tkcalendar import Date... |
|
euras |
GUI |
4 |
2,635 |
May-20-2021, 12:59 PM |
|
|
Thread: Selenium does not keep the table?
Post: Selenium does not keep the table?
I scrape a table with Selenium. When I found the match, I click on the row, which navigates me to the next page. I do a couple of things in that page, then click Back button on that page, which brings... |
|
euras |
Web Scraping & Web Development |
1 |
2,205 |
May-19-2021, 11:34 AM |
|
|
Thread: Feed List items with Integer
Post: RE: Feed List items with Integer
thank you snippsat for your help! But I don't get it how to place that in an actual call for element. How to write that syntax on the following example?
contents = driver.find_element_by_id("searchRes... |
|
euras |
General Coding Help |
9 |
3,941 |
May-19-2021, 07:30 AM |
|
|
Thread: Feed List items with Integer
Post: RE: Feed List items with Integer
ok, I tried it with CSS selector (took full Xpath), but it still does not work :/
contents = driver.find_element_by_id("searchResultTable").find_elements_by_tag_name("tr")
for inda, content in enumera... |
|
euras |
General Coding Help |
9 |
3,941 |
May-18-2021, 02:17 PM |
|
|
Thread: Feed List items with Integer
Post: RE: Feed List items with Integer
no, that method does not work, since the browser zoom can be set differently, I need just to feed somehow the index into element path, to make it work, and run driver.execute_script method. |
|
euras |
General Coding Help |
9 |
3,941 |
May-18-2021, 10:18 AM |
|
|
Thread: Feed List items with Integer
Post: RE: Feed List items with Integer
but how to do that when interacting with Selenium in webautomation? let's say I want to loop throug a list of elements and click on each element in the list. In that case I need to feed a index in an ... |
|
euras |
General Coding Help |
9 |
3,941 |
May-18-2021, 09:22 AM |
|
|
Thread: Feed List items with Integer
Post: Feed List items with Integer
I try to get a list item by feeding it with Int variable, but cannot find a way to do it.
# this one works
cars = ["Audi", "Opel", "BMW"]
for x,y in enumerate(cars):
temp = int(x)
print(cars[... |
|
euras |
General Coding Help |
9 |
3,941 |
May-17-2021, 04:57 PM |
|
|
Thread: How to get specific TD text via Selenium?
Post: RE: How to get specific TD text via Selenium?
that's a company webpage, so I cannot provide an url, but I think the problem is somewhere in the code itself. |
|
euras |
Web Scraping & Web Development |
3 |
8,779 |
May-14-2021, 12:01 PM |
|
|
Thread: How to get specific TD text via Selenium?
Post: How to get specific TD text via Selenium?
I try to scrape a table and read specific TD in Table in each row. But for some reasons it fails at the last step. What I'm doing wrong?
content = driver.find_element_by_id("searchResultTable").find_... |
|
euras |
Web Scraping & Web Development |
3 |
8,779 |
May-14-2021, 08:26 AM |
|
|
Thread: Connect to existing Firefox session with Selenium
Post: Connect to existing Firefox session with Selenium
Hi guys, is there a way to connect to existing Firefox session with Selenium, how you can do it with Chrome or Chromium?
from msedge.selenium_tools import Edge, EdgeOptions
# Launch Microsoft Edge (Ch... |
|
euras |
Web Scraping & Web Development |
0 |
5,441 |
Feb-11-2021, 02:54 PM |
|
|
Thread: How to use Selenium on EdgeHTML, when having WebDrivers in other location?
Post: RE: How to use Selenium on EdgeHTML, when having W...
I don't think I will have permissions to do those actions in work computer. As well I cannot expect all users will be able to do that by themselves. Is there any other way to connect that webdriver ju... |
|
euras |
Web Scraping & Web Development |
2 |
1,971 |
Feb-03-2021, 06:02 PM |
|
|
Thread: How to use Selenium on EdgeHTML, when having WebDrivers in other location?
Post: How to use Selenium on EdgeHTML, when having WebDr...
I want to launch Python script on EdgeHTML (Edge v.18 Legacy), using Selenium. But I face a problem to do a connection. I'm trying to launch it on job computer, but I can't install MicrosoftWebDriver.... |
|
euras |
Web Scraping & Web Development |
2 |
1,971 |
Feb-03-2021, 04:31 PM |