workspace
stringclasses
1 value
channel
stringclasses
1 value
sentences
stringlengths
1
3.93k
ts
stringlengths
26
26
user
stringlengths
2
11
sentence_id
stringlengths
44
53
timestamp
float64
1.5B
1.56B
__index_level_0__
int64
0
106k
pythondev
help
compare how? filenames, file contents, modified dates, all the same, subset/superset?
2019-03-06T14:10:57.818700
Clemmie
pythondev_help_Clemmie_2019-03-06T14:10:57.818700
1,551,881,457.8187
12,421
pythondev
help
yes that is my other question as well
2019-03-06T14:11:08.819000
Jenice
pythondev_help_Jenice_2019-03-06T14:11:08.819000
1,551,881,468.819
12,422
pythondev
help
and what is the use case - it is an odd sounding need
2019-03-06T14:11:34.819600
Clemmie
pythondev_help_Clemmie_2019-03-06T14:11:34.819600
1,551,881,494.8196
12,423
pythondev
help
Like strcmp?
2019-03-06T14:55:13.821400
Nieves
pythondev_help_Nieves_2019-03-06T14:55:13.821400
1,551,884,113.8214
12,424
pythondev
help
See if they’re the same or different regarding the name?
2019-03-06T14:55:44.821900
Nieves
pythondev_help_Nieves_2019-03-06T14:55:44.821900
1,551,884,144.8219
12,425
pythondev
help
in the mac application folder i have bunch of apps that are authorised to be in the folder and what i want to figure out if the user add other apps "not authorised "
2019-03-06T14:57:40.822100
Carin
pythondev_help_Carin_2019-03-06T14:57:40.822100
1,551,884,260.8221
12,426
pythondev
help
thank you
2019-03-06T14:57:46.822300
Carin
pythondev_help_Carin_2019-03-06T14:57:46.822300
1,551,884,266.8223
12,427
pythondev
help
Something like <https://docs.python.org/3/library/os.html#os.listdir> is probably where you'd start
2019-03-06T14:59:49.822600
Jenice
pythondev_help_Jenice_2019-03-06T14:59:49.822600
1,551,884,389.8226
12,428
pythondev
help
then there's a bunch of path tools in <https://docs.python.org/3/library/os.path.html> but I vaguely recall there being some controversy over the *correct* path lib to use?
2019-03-06T15:01:47.823500
Jenice
pythondev_help_Jenice_2019-03-06T15:01:47.823500
1,551,884,507.8235
12,429
pythondev
help
i'd say that approach is rather futile effort .. Applications in mac (just like any os really) can be anywhere..
2019-03-06T15:03:00.824400
Eric
pythondev_help_Eric_2019-03-06T15:03:00.824400
1,551,884,580.8244
12,430
pythondev
help
but that wasnt the answer to the question so 'scuse me :smiley:
2019-03-06T15:03:54.825300
Eric
pythondev_help_Eric_2019-03-06T15:03:54.825300
1,551,884,634.8253
12,431
pythondev
help
I agree <@Eric>. If users are not supposed to be able to install applications, then they shouldn’t have administrator access on the machine. If they do, then the script will be trivially simple to evade
2019-03-06T15:15:47.826700
Clemmie
pythondev_help_Clemmie_2019-03-06T15:15:47.826700
1,551,885,347.8267
12,432
pythondev
help
thank you <@Clemmie> <@Jenice> <@Eric> for taking time to check my problem :slightly_smiling_face:
2019-03-06T16:17:10.828200
Carin
pythondev_help_Carin_2019-03-06T16:17:10.828200
1,551,889,030.8282
12,433
pythondev
help
i just wanna be able to compare the application folder apps list with a a file that contains my list
2019-03-06T16:26:26.829600
Carin
pythondev_help_Carin_2019-03-06T16:26:26.829600
1,551,889,586.8296
12,434
pythondev
help
start by splitting your problem into smaller chunks like "how would i store the list of acceptable directories". Then "how would i populate the list of current directories" and then "how would i compare these two" .. essentilly what you are asking is "how can i get a diff of two arrays".
2019-03-06T17:13:50.832200
Eric
pythondev_help_Eric_2019-03-06T17:13:50.832200
1,551,892,430.8322
12,435
pythondev
help
and when you have some sort of idea, or not having any idea about those, you get to better questions that people actually can answer without writing things for free for you.
2019-03-06T17:17:36.833600
Eric
pythondev_help_Eric_2019-03-06T17:17:36.833600
1,551,892,656.8336
12,436
pythondev
help
I'm trying to understand what is going wrong with my script. I'm writing a StackStorm pack, which is a python based package that uses virtualenv. Is it ok to post traceback here?
2019-03-06T18:52:00.835300
Elna
pythondev_help_Elna_2019-03-06T18:52:00.835300
1,551,898,320.8353
12,437
pythondev
help
None
2019-03-06T18:52:45.835400
Elna
pythondev_help_Elna_2019-03-06T18:52:45.835400
1,551,898,365.8354
12,438
pythondev
help
Does this tell you guys anything or is this output insufficient to tell what is going wrong?
2019-03-06T18:53:22.836100
Elna
pythondev_help_Elna_2019-03-06T18:53:22.836100
1,551,898,402.8361
12,439
pythondev
help
Hey, is there alway in beautifulsoup to find element using Xpath
2019-03-06T18:58:57.836600
Izetta
pythondev_help_Izetta_2019-03-06T18:58:57.836600
1,551,898,737.8366
12,440
pythondev
help
not as of a year or so ago: <https://stackoverflow.com/questions/11465555/can-we-use-xpath-with-beautiful>
2019-03-06T19:02:10.837400
Jenice
pythondev_help_Jenice_2019-03-06T19:02:10.837400
1,551,898,930.8374
12,441
pythondev
help
the BS author says no in that thread
2019-03-06T19:02:24.838100
Jenice
pythondev_help_Jenice_2019-03-06T19:02:24.838100
1,551,898,944.8381
12,442
pythondev
help
but lxml might work
2019-03-06T19:02:34.838400
Jenice
pythondev_help_Jenice_2019-03-06T19:02:34.838400
1,551,898,954.8384
12,443
pythondev
help
<@Elna> Looks like you've got a mix of Python 3.6 and 2.7 libraries going on, though I couldn't tell you how to fix it.
2019-03-06T19:02:54.838900
Sasha
pythondev_help_Sasha_2019-03-06T19:02:54.838900
1,551,898,974.8389
12,444
pythondev
help
<@Jenice> hey, do you have experience with selenium? if so, then do you think I should use lxml to speed up the finding elements
2019-03-06T19:08:57.842800
Izetta
pythondev_help_Izetta_2019-03-06T19:08:57.842800
1,551,899,337.8428
12,445
pythondev
help
oh hrm. I've only used it for integration tests to run against a beta website stack. I've never done much to optimize element search with it. Is that a noticeable bottleneck for you?
2019-03-06T19:16:52.844100
Jenice
pythondev_help_Jenice_2019-03-06T19:16:52.844100
1,551,899,812.8441
12,446
pythondev
help
<@Jenice> No, I just making web scraper program and I try to speed it up little
2019-03-06T19:19:54.846800
Izetta
pythondev_help_Izetta_2019-03-06T19:19:54.846800
1,551,899,994.8468
12,447
pythondev
help
aha. In my (limited) experience with that kind of application, I didn't lose that much time to document searching compared to the network call side. I know lxml had a reputation for being faster than BS's default document engine when I was doing that 5 years ago but I don't know what the state of the art is. If you're noticing particularly slow element finding it might be worth switching out and benchmarking
2019-03-06T19:22:22.849200
Jenice
pythondev_help_Jenice_2019-03-06T19:22:22.849200
1,551,900,142.8492
12,448
pythondev
help
Also consider that selenium is a headless browser, so factor in the rendering time too
2019-03-06T19:23:10.850300
Hiroko
pythondev_help_Hiroko_2019-03-06T19:23:10.850300
1,551,900,190.8503
12,449
pythondev
help
Also, this sounds to me like premature optimization
2019-03-06T19:23:32.851100
Hiroko
pythondev_help_Hiroko_2019-03-06T19:23:32.851100
1,551,900,212.8511
12,450
pythondev
help
What do you mean
2019-03-06T19:23:51.851900
Izetta
pythondev_help_Izetta_2019-03-06T19:23:51.851900
1,551,900,231.8519
12,451
pythondev
help
ah yeah. I was using requests or something similar so I did not encounter that aspect
2019-03-06T19:23:56.852200
Jenice
pythondev_help_Jenice_2019-03-06T19:23:56.852200
1,551,900,236.8522
12,452
pythondev
help
If all you’re looking for is speedups, without knowing your bottlenecks, anything you do is guesswork
2019-03-06T19:24:46.853600
Hiroko
pythondev_help_Hiroko_2019-03-06T19:24:46.853600
1,551,900,286.8536
12,453
pythondev
help
Measure and find your bottlenecks before you spend time optimizing
2019-03-06T19:25:18.854700
Hiroko
pythondev_help_Hiroko_2019-03-06T19:25:18.854700
1,551,900,318.8547
12,454
pythondev
help
And spend time optimizing the parts with the biggest return
2019-03-06T19:25:45.855900
Hiroko
pythondev_help_Hiroko_2019-03-06T19:25:45.855900
1,551,900,345.8559
12,455
pythondev
help
Yeah, I see your point
2019-03-06T19:26:02.856600
Izetta
pythondev_help_Izetta_2019-03-06T19:26:02.856600
1,551,900,362.8566
12,456
pythondev
help
hello, I am looking to build a basic web app which allows a user to upload two reports, the app will compare the two behind the scenes (per my parameters) and then it will provide a new report with correlations between the two reports. I am looking to use Flask for this. This will be my first solo Flask project, was wondering if there are any libraries or tools anyone could recommend to assist me.
2019-03-06T19:43:17.859500
Janella
pythondev_help_Janella_2019-03-06T19:43:17.859500
1,551,901,397.8595
12,457
pythondev
help
I'm also entertaining the idea of using React with Flask so my app can be more interactive, but that may be something to add in after the basic app is built
2019-03-06T19:43:59.860400
Janella
pythondev_help_Janella_2019-03-06T19:43:59.860400
1,551,901,439.8604
12,458
pythondev
help
Might want to try <#C0LN2AD7T|flask> if you don't get replies
2019-03-06T22:37:14.864200
Cori
pythondev_help_Cori_2019-03-06T22:37:14.864200
1,551,911,834.8642
12,459
pythondev
help
How would I make a new TOTAL after the while loop completes it goes back to 13
2019-03-06T22:39:58.864800
Edward
pythondev_help_Edward_2019-03-06T22:39:58.864800
1,551,911,998.8648
12,460
pythondev
help
Total = 13 MinusOne = -1 MinusTwo = -2 MinusThree = -3 while True: Option = input("Would You Like One, Two, Three") if Option == "One": print(Total + MinusOne) elif Option == "Two": print(Total + MinusTwo) elif Option == "Three": print(Total + MinusThree) break
2019-03-06T22:40:00.865000
Edward
pythondev_help_Edward_2019-03-06T22:40:00.865000
1,551,912,000.865
12,461
pythondev
help
You're only printing the sums, rather than updating `Total`. You would need logic like `Total = Total + MinusOne`, etc.
2019-03-06T22:42:40.865600
Sasha
pythondev_help_Sasha_2019-03-06T22:42:40.865600
1,551,912,160.8656
12,462
pythondev
help
Does anyone know why I'm getting this error ```ConnectionResetError: [WinError 10054] An existing connection was forcibly closed by the remote host```?
2019-03-07T01:07:28.867000
Natosha
pythondev_help_Natosha_2019-03-07T01:07:28.867000
1,551,920,848.867
12,463
pythondev
help
that's the error I got when I tried to run celery along with django
2019-03-07T01:07:59.867400
Natosha
pythondev_help_Natosha_2019-03-07T01:07:59.867400
1,551,920,879.8674
12,464
pythondev
help
it could be that you already have a single alive connection and you are trying to open a new one.
2019-03-07T03:30:28.868600
Eric
pythondev_help_Eric_2019-03-07T03:30:28.868600
1,551,929,428.8686
12,465
pythondev
help
is there a way that I can know which connection is alive?
2019-03-07T04:03:00.869700
Natosha
pythondev_help_Natosha_2019-03-07T04:03:00.869700
1,551,931,380.8697
12,466
pythondev
help
btw, in the VM from where I'm trying to run the script there's a django site that is running
2019-03-07T04:06:03.872200
Natosha
pythondev_help_Natosha_2019-03-07T04:06:03.872200
1,551,931,563.8722
12,467
pythondev
help
could that be the culprit on why I'm getting the error?
2019-03-07T04:06:31.872700
Natosha
pythondev_help_Natosha_2019-03-07T04:06:31.872700
1,551,931,591.8727
12,468
pythondev
help
without knowing your whole code, all i can say: Close connections right when you have stopped using them and reuse when possible instead of opening new ones..
2019-03-07T04:22:29.873600
Eric
pythondev_help_Eric_2019-03-07T04:22:29.873600
1,551,932,549.8736
12,469
pythondev
help
Hey guys, need some help with multi processing
2019-03-07T06:53:06.875500
Maddie
pythondev_help_Maddie_2019-03-07T06:53:06.875500
1,551,941,586.8755
12,470
pythondev
help
I want push some data to azure by hitting it's API but want that to happen as different processes, as the no. Could be very high in 100 thousands.
2019-03-07T06:54:07.877100
Maddie
pythondev_help_Maddie_2019-03-07T06:54:07.877100
1,551,941,647.8771
12,471
pythondev
help
So i want to reduce execution time I have to use multiprocessing
2019-03-07T06:54:51.878300
Maddie
pythondev_help_Maddie_2019-03-07T06:54:51.878300
1,551,941,691.8783
12,472
pythondev
help
Here's the snippet of my multiprocessing code
2019-03-07T06:56:42.879300
Maddie
pythondev_help_Maddie_2019-03-07T06:56:42.879300
1,551,941,802.8793
12,473
pythondev
help
Knowing how to ask a good question is a highly invaluable skill that will benefit you greatly in any career. Two good resources for suggestions and strategies to help you structure and phrase your question to make it easier for those here to understand your problem and help you work to a solution are: • <https://www.mikeash.com/getting_answers.html> • <https://stackoverflow.com/help/how-to-ask>
2019-03-07T07:10:44.879900
Leana
pythondev_help_Leana_2019-03-07T07:10:44.879900
1,551,942,644.8799
12,474
pythondev
help
Please use pastebin and share the link? The glare is making it hard to read the code (I'm also blind). Thanks.
2019-03-07T07:19:14.880200
Nieves
pythondev_help_Nieves_2019-03-07T07:19:14.880200
1,551,943,154.8802
12,475
pythondev
help
or <http://www.catb.org/~esr/faqs/smart-questions.html>
2019-03-07T07:35:54.880600
Eric
pythondev_help_Eric_2019-03-07T07:35:54.880600
1,551,944,154.8806
12,476
pythondev
help
I am looking to loop through thousands of json responses via a web url and parse out some of that data and store it in a flat file (csv, txt..etc is ok). Where should I begin? Didn't know which channel to put this in.
2019-03-07T08:38:09.882900
Concha
pythondev_help_Concha_2019-03-07T08:38:09.882900
1,551,947,889.8829
12,477
pythondev
help
split the project into smaller tasks and start experimenting, then ask again if particular sub task doesnt seem to work ?
2019-03-07T08:45:41.885500
Eric
pythondev_help_Eric_2019-03-07T08:45:41.885500
1,551,948,341.8855
12,478
pythondev
help
Start by getting something working, no matter how slow. Then improve it.
2019-03-07T08:45:59.886100
Jonas
pythondev_help_Jonas_2019-03-07T08:45:59.886100
1,551,948,359.8861
12,479
pythondev
help
I've just decided to swap from "just" python to anaconda. In my anaconda installation I've ended up with python 3.6.8. Is it safe to just upgrade this to 3.7 within navigator, or would that cause issues with some other packages? TBH, not entirely clear why I didn't get 3.7 with it, since I thought I'd downloaded the lates version which does say 3.7. These are my versions: ``` Python 3.6.8 :: Anaconda custom (64-bit) anaconda Command line client (version 1.7.2) conda 4.6.7 ```
2019-03-07T08:46:11.886400
Chelsey
pythondev_help_Chelsey_2019-03-07T08:46:11.886400
1,551,948,371.8864
12,480
pythondev
help
None
2019-03-07T08:47:24.886800
Janessa
pythondev_help_Janessa_2019-03-07T08:47:24.886800
1,551,948,444.8868
12,481
pythondev
help
<@Janessa> that looks like Java (or maybe C#?). This is a slack for the python community. You would get better/more help in a community for the language in question. Off the top of my head you could try google groups, and reddit
2019-03-07T08:54:45.889000
Clemmie
pythondev_help_Clemmie_2019-03-07T08:54:45.889000
1,551,948,885.889
12,482
pythondev
help
yeaa,yea thank you, i noticed now
2019-03-07T08:55:20.889900
Janessa
pythondev_help_Janessa_2019-03-07T08:55:20.889900
1,551,948,920.8899
12,483
pythondev
help
Hey all, Anyone ever encountered non-standard RFC codes in requests? Like for example error codes 401 unauth, 404 doesnt exist, 500 error are standard. How do I handle a 600 code?
2019-03-07T08:57:43.890600
Lydia
pythondev_help_Lydia_2019-03-07T08:57:43.890600
1,551,949,063.8906
12,484
pythondev
help
I would contact them to ask :smile:
2019-03-07T08:59:09.891200
Jimmy
pythondev_help_Jimmy_2019-03-07T08:59:09.891200
1,551,949,149.8912
12,485
pythondev
help
Some apis extend the code range. I did a quick google for http 600 and a few show up
2019-03-07T08:59:50.891500
Clemmie
pythondev_help_Clemmie_2019-03-07T08:59:50.891500
1,551,949,190.8915
12,486
pythondev
help
as <@Jimmy> said, I would check the api docs or contact the maintainers
2019-03-07T09:00:07.891900
Clemmie
pythondev_help_Clemmie_2019-03-07T09:00:07.891900
1,551,949,207.8919
12,487
pythondev
help
<@Hiroko> <@Izetta> just want to clear some stuff up. Selenium isn't a headless browser, but rather an abstraction around the WebDriver protocol with some extra bits to unify behavior between browsers so you can have the same selenium code hopefully do the same thing on every browser. It communicates with the various drivers for each browser to control them either locally or remotely (it's all network requests, so you can have selenium talk to the drivers over a network if you want), and, ideally, it tries to simulate how a real person would interact with the website (albeit much, much faster). The browsers it controls are not headless by default, but some of them support being run headless and you can have Selenium spin up a headless instance if you tell it to do so. Regarding performance, a long, long time ago, ~in a world wide web far away,~ xpath used to perform better than normal CSS selectors, but even then, only in certain circumstances, and not by much. Nowadays, CSS selectors perform much better across the board. You should always try to use CSS selectors for a number of reasons (e.g. front end developer will be able to understand them easily, they're simpler and easier to write), but performance should not be a concern, especially if you're running e2e tests with selenium (it's already going to chug along relative to other types of tests, so shaving off .01 seconds of a 20 minute test run isn't really worth it). The _only_ time you should use XPATH is it you need some sort of logic in your locator that CSS selectors just can't do (and even then, there's often ways around it). For example, if you need to find an element that happens to have an element inside it with a certain attribute value, XPATH is needed, because CSS selectors can't traverse up the node tree to the parents/ancestors.
2019-03-07T09:54:22.907800
Ashley
pythondev_help_Ashley_2019-03-07T09:54:22.907800
1,551,952,462.9078
12,488
pythondev
help
`config.py` ``` DEFAULT_SETTING = os.get(DEFAULT_SETTING'', 'foo') class BaseConfig(object): DEFAULT_SETTING = os.get(DEFAULT_SETTING'', 'foo') ``` Case 1 ``` from config import DAFAULT_SETTING print(DEFAULT_SETTING) ``` Case 2 ``` from config import BaseConfig print(BaseConfig.DEFAULT_SETTING) ``` Anyone know why there would be 2 diff appraoches to the this is being done?
2019-03-07T09:58:06.912000
Adolfo
pythondev_help_Adolfo_2019-03-07T09:58:06.912000
1,551,952,686.912
12,489
pythondev
help
case 1 is from module, second one within class.. So, they have a different scope.
2019-03-07T10:01:34.915300
Eric
pythondev_help_Eric_2019-03-07T10:01:34.915300
1,551,952,894.9153
12,490
pythondev
help
Is there a benefit to have it in the class, if thats all its doing?
2019-03-07T10:02:14.916700
Adolfo
pythondev_help_Adolfo_2019-03-07T10:02:14.916700
1,551,952,934.9167
12,491
pythondev
help
no other logic at all
2019-03-07T10:02:28.917400
Adolfo
pythondev_help_Adolfo_2019-03-07T10:02:28.917400
1,551,952,948.9174
12,492
pythondev
help
well, you can then only import the class *only* and still have access to the value pointed by DEFAULT_SETTING
2019-03-07T10:02:49.918200
Eric
pythondev_help_Eric_2019-03-07T10:02:49.918200
1,551,952,969.9182
12,493
pythondev
help
<@Ashley> hey, I’m not using selenium for test purposes, I using it to make web scraper
2019-03-07T10:03:29.918900
Izetta
pythondev_help_Izetta_2019-03-07T10:03:29.918900
1,551,953,009.9189
12,494
pythondev
help
<@Izetta> first off, i have never used selenium directly from python, mainly via robotframework and such .. but if the question was would using lxml be a good idea? Afaik, and i might be very wrong - that probably wont work or if it does, it wouldnt probably provide any speed improvements.
2019-03-07T10:06:04.921300
Eric
pythondev_help_Eric_2019-03-07T10:06:04.921300
1,551,953,164.9213
12,495
pythondev
help
because selenium would still be in the middle and for lxml to get its magic, you would still need to wait for within seleniun context for page ready (and any async requests that might trigger dom changes) and only then get the page source ..
2019-03-07T10:08:03.923700
Eric
pythondev_help_Eric_2019-03-07T10:08:03.923700
1,551,953,283.9237
12,496
pythondev
help
and . afaik, you would be more interested in live dom than the just the html ..
2019-03-07T10:08:32.924700
Eric
pythondev_help_Eric_2019-03-07T10:08:32.924700
1,551,953,312.9247
12,497
pythondev
help
<@Eric> what is robotframework
2019-03-07T10:08:46.925400
Izetta
pythondev_help_Izetta_2019-03-07T10:08:46.925400
1,551,953,326.9254
12,498
pythondev
help
so,atleat from my pov, lxml is probably not what you are looking for.
2019-03-07T10:08:54.925600
Eric
pythondev_help_Eric_2019-03-07T10:08:54.925600
1,551,953,334.9256
12,499
pythondev
help
<https://robotframework.org/> .. opensource automation framework ..
2019-03-07T10:09:29.925900
Eric
pythondev_help_Eric_2019-03-07T10:09:29.925900
1,551,953,369.9259
12,500
pythondev
help
people will hate my for saying this but essentially: "Its like cucumber but with different syntax and written in python"
2019-03-07T10:10:03.927100
Eric
pythondev_help_Eric_2019-03-07T10:10:03.927100
1,551,953,403.9271
12,501
pythondev
help
<@Eric> can I use it for web scraping
2019-03-07T10:10:55.928500
Izetta
pythondev_help_Izetta_2019-03-07T10:10:55.928500
1,551,953,455.9285
12,502
pythondev
help
mm yes ? but it will still be using selenium underneath it :smile:
2019-03-07T10:11:47.929300
Eric
pythondev_help_Eric_2019-03-07T10:11:47.929300
1,551,953,507.9293
12,503
pythondev
help
<@Eric> then, I look into it
2019-03-07T10:12:50.930500
Izetta
pythondev_help_Izetta_2019-03-07T10:12:50.930500
1,551,953,570.9305
12,504
pythondev
help
so if you are familiar with sele &amp; python, robot itself wont add much except extra layer of abstraction .. *but* if not, keyword based automation might be a good fit. Depending in your requirements.
2019-03-07T10:13:34.931200
Eric
pythondev_help_Eric_2019-03-07T10:13:34.931200
1,551,953,614.9312
12,505
pythondev
help
<@Eric> yeah, I am pretty familiar sele &amp; python
2019-03-07T10:16:34.933100
Izetta
pythondev_help_Izetta_2019-03-07T10:16:34.933100
1,551,953,794.9331
12,506
pythondev
help
while i like people getting introduced to rf, i dont think you will get any extra features from using it
2019-03-07T10:30:38.934300
Eric
pythondev_help_Eric_2019-03-07T10:30:38.934300
1,551,954,638.9343
12,507
pythondev
help
<@Izetta> Selenium is actually a _terrible_ scraping tool. It's built to work like a user, so it will be slow in many areas, and refuse to cooperate in others. (e.g. if an element has text, but isn't "visible", selenium will tell you it has no text). Using a full browser in general is also super slow, so you may want to explore other options. Robot is also a testing framework, so it's not really gonna offer you anything
2019-03-07T10:49:22.936800
Ashley
pythondev_help_Ashley_2019-03-07T10:49:22.936800
1,551,955,762.9368
12,508
pythondev
help
testing &amp; *rpa* tool :slightly_smiling_face:
2019-03-07T10:55:33.937600
Eric
pythondev_help_Eric_2019-03-07T10:55:33.937600
1,551,956,133.9376
12,509
pythondev
help
Selenium sucks. I hate it.
2019-03-07T10:59:00.938700
Nieves
pythondev_help_Nieves_2019-03-07T10:59:00.938700
1,551,956,340.9387
12,510
pythondev
help
<@Nieves> why do you hate it? trying to use it here in my prod environment and Ive loved it, especially the headless mode
2019-03-07T11:13:15.939300
Lydia
pythondev_help_Lydia_2019-03-07T11:13:15.939300
1,551,957,195.9393
12,511
pythondev
help
I find their insistence on not providing the return code to be baffling
2019-03-07T12:06:48.939900
Karoline
pythondev_help_Karoline_2019-03-07T12:06:48.939900
1,551,960,408.9399
12,512
pythondev
help
I eventually figured a way around it, but it's like some sort of religious objection
2019-03-07T12:07:04.940300
Karoline
pythondev_help_Karoline_2019-03-07T12:07:04.940300
1,551,960,424.9403
12,513
pythondev
help
<@Karoline> because it's not in the WebDriver spec. It's not a selenium issue
2019-03-07T12:13:40.940600
Ashley
pythondev_help_Ashley_2019-03-07T12:13:40.940600
1,551,960,820.9406
12,514
pythondev
help
I mean it is in the sense that they could get it, and choose not to. I've seen them reply on issues that it's not what the tool is for as if it were some sort of philosophical issue.
2019-03-07T12:14:33.942500
Karoline
pythondev_help_Karoline_2019-03-07T12:14:33.942500
1,551,960,873.9425
12,515
pythondev
help
Aside from that, it's geared towards behaving as a user so you can test from as close to a user's perspective as you can in automation. Users don't care about return codes
2019-03-07T12:15:25.943500
Ashley
pythondev_help_Ashley_2019-03-07T12:15:25.943500
1,551,960,925.9435
12,516
pythondev
help
Right, but it's not a user. It's a machine.
2019-03-07T12:15:43.944200
Karoline
pythondev_help_Karoline_2019-03-07T12:15:43.944200
1,551,960,943.9442
12,517
pythondev
help
If there's a problem, it should be evident from other things
2019-03-07T12:15:51.944600
Ashley
pythondev_help_Ashley_2019-03-07T12:15:51.944600
1,551,960,951.9446
12,518
pythondev
help
And lots of people have the use case of needing the return code.
2019-03-07T12:15:55.944800
Karoline
pythondev_help_Karoline_2019-03-07T12:15:55.944800
1,551,960,955.9448
12,519
pythondev
help
It's a machine meant to behave like a person
2019-03-07T12:16:13.945100
Ashley
pythondev_help_Ashley_2019-03-07T12:16:13.945100
1,551,960,973.9451
12,520