#πŸ”’ πŸ”’ selenium,tkinter, automation

67 messages Β· Page 1 of 1 (latest)

hoary patrolBOT
#

@fleet plover

Python help channel opened

Remember to:

  • Ask your Python question, not if you can ask or if there's an expert who can help.
  • Show a code sample as text (rather than a screenshot) and the error message, if you've got one.
  • Explain what you expect to happen and what actually happens.

:warning: Do not pip install anything that isn't related to your question, especially if asked to over DMs.

fleet plover
#

Wtf

#

My og msg got deleted

#

Thats wild

#

Guys does anyone know how to get rid of the automatic popup from chrome that tells u to choose a default browser when using selenium?

#

Bro why tf cant i send my codeeee

#

You can try running the code urself without hiding the chrome tab and u will see what i mean, if u didnt understand what im trying to say

vale pivot
#

not my area, really

fleet plover
#

rip

#

No worries

uncut vale
#

You can send an image here

fleet plover
#

Oh im in bed rn lmao

#

its just been bugging me for a week now

#

I tried fixing it with chatgpt as u cab see since it labelled everything

#

But it still doesnt work

#

Im so lost

#

But this is how it goes

#

Once u submit x email it launches a chrome tab and tries to go on replit.com

uncut vale
#

It’s pointless to debug stuff when you’re in bed

#

We aren’t going to do everything for you

fleet plover
#

But when trying to do that the new chrome tab just shows a popup in which u select a default browser (firefox, google, ....)

chilly wolf
#

You can use options.add_argument("--no-default-browser-check")

#

There's also options.add_argument("--disable-infobars")

fleet plover
#

I fr dont get why it wont work lmao

#

Its being a pain for no reason

chilly wolf
#

That's not a default browser popup

#

That's the default search engine popup

fleet plover
#

Ye my bad

#

But still

#

How fix xd

chilly wolf
#

--disable-search-engine-choice-screen

fleet plover
#

Yoo thanks

chilly wolf
#

It's very important that you look up the correct things when you have an issue.

fleet plover
#

Ill try it tomorrow

#

Yeh im new to it and watched a tutorial lol sorry

chilly wolf
#

Okay, no problem

fleet plover
#

Uh quick question though

#

As u can see in the code

#

The whole automatipn process is in one single part

#

How does one usually seperate this

#

So lets say i want to maoe the main.py file only contain the tkinter interface and its linked to all other files such as replit.py, xyz.py

#

So whatever u enter in the tkinter interface gets added to those files and it does the search

chilly wolf
#

you can make multiple files, set up one main file, and then import the stuff between them.

fleet plover
#

i hopw u understood cus idrk how to explain it well

fleet plover
#

do i need javascript for it

chilly wolf
#

no, this is python

fleet plover
#

Oh okay since for a school project i had to use javascript to do something like it

#

But ig it wasnt python related since it was a website

chilly wolf
#

alright

fleet plover
#

Thanks :D

#

@chilly wolf

#

Is there a selenium commands list

#

Like everything that it can do is listed

fleet plover
chilly wolf
hoary patrolBOT
#
Python help channel closed

This help channel has been closed and it's no longer possible to send messages here. If your question wasn't answered, feel free to create a new post in #1035199133436354600. To maximize your chances of getting a response, check out this guide on asking good questions.

#

πŸ”’ selenium,tkinter, automation

#
Python help channel closed

This help channel has been closed and it's no longer possible to send messages here. If your question wasn't answered, feel free to create a new post in #1035199133436354600. To maximize your chances of getting a response, check out this guide on asking good questions.