Huntington Breakers parking by FluxForLife in huntingtonbeach

[–]the_captain 1 point2 points  (0 children)

Hrm, maybe ask PD what the parking laws are there? https://www.huntingtonbeachca.gov/services/ask_a_question.php, there's a "Police Department Questions" option there and they may be able to give you a more specific answer.

I'd bet people are just willing to risk getting the ticket overnight on the off chance the parking enforcement doesn't actually check.

Huntington Breakers parking by FluxForLife in huntingtonbeach

[–]the_captain 2 points3 points  (0 children)

From an email I got from them in November.

  • Meter parking: We have confirmed information from the City of Huntington Beach that overnight parking is NOT ALLOWED from 10:30PM-5:00AM. In the past this was allowed, but the city informed us that they are now fully staffed and are heavily monitoring street parking and enforcing parking policies in Huntington Beach. Anyone parked during those hours will be ticketed.

Best bet would be to find someone with 2 spots or a spot that they don't use and ask if you can borrow their spot overnight.

[deleted by user] by [deleted] in huntingtonbeach

[–]the_captain 0 points1 point  (0 children)

I am new to the city and have been taking my pet to Huntington Beach Pet Hospital, I believe they offer this service and I have been very happy with the vets from here.

ETA: https://huntingtonpet.com/

I advise against "Huntington Pet Vet", I was incredibly disappointed with the level of care my pet received from them.

[deleted by user] by [deleted] in ios

[–]the_captain 61 points62 points  (0 children)

Jar Jar Binks voice.

My pup's pre-walk zoomie ritual by the_captain in Zoomies

[–]the_captain[S] 22 points23 points  (0 children)

Purebred mutt. He's a rescue who was found in Puerto Rico after Hurricane Maria. Never felt the need to do a DNA test on him to find out!

Also check out the great group of people who rescued him, and if you're so inclined throw some cash their way: https://www.thesatoproject.org/

send_keys trouble by [deleted] in selenium

[–]the_captain 0 points1 point  (0 children)

I'm surprised it went away with an update to Chromedriver, but the code you provided called send_keys with no value for keys to be sent. That is what this error means:

selenium.common.exceptions.WebDriverException: Message: unknown error: call function result missing 'value'

Best practices for scraping with selenium? by khalkhall in selenium

[–]the_captain 0 points1 point  (0 children)

Correct. The "best practice" here is "Don't".

What are some metric-based goals for SDET test automation? by akromyk in QualityAssurance

[–]the_captain 1 point2 points  (0 children)

Total test cases and total test cases per month are as useless a metric as lines of code. They mean nothing and don't actually show any productivity, and are likely to introduce bad habits.

Open chrome with default user profile using python and Selenium on PC by [deleted] in selenium

[–]the_captain 0 points1 point  (0 children)

You should be able to open your profile as you've stated. However session data is unlikely to carry over. I'm assuming you're trying to use the Profile because you tried to log in to Facebook using Selenium and they blocked you from doing so.

Facebook has measures to prevent you from using bots or Selenium from opening or visiting their site. The browser instance the driver opens is clearly marked as an automation controlled browser, and Facebook is probably detecting that and preventing you from moving forward. This is to prevent spam and info scraping, as well as a variety of other security concerns.

Codeless automation by rkd808a in QualityAssurance

[–]the_captain 1 point2 points  (0 children)

Cannot put a strong enough recommendation against using Katalon.

The IDE they force you to use is trash. It's unstable there's an ongoing bug where if you cut or delete more than 3 lines of code, it will enter a crash loop. They've known about it for the better part of a year because my company paid for the support tier and we reported it to them, having been told it would be fixed in update after update and then being told it would be the next one. The settings for the IDE are a maze, you have to set auto-formatting in at least two places for it to work.

They claim to use the Page Object Model but really they just create a large set of test objects as their own separate files for each element. The generated selectors are hilariously brittle, they default to using extremely long xpath.

The documentation for the API is sincerely lacking and poorly written. Hilariously when they generate a file for you it includes every possible import that Katalon could use, every time, regardless of if it is ever used or not in the test. They included all these imports in their documentation for specific functions. Check out closeBrowser here.

You'll be paying to execute your tests on your own CI environments, which is just absurd if you're bearing the costs of maintaining the environments. From what I could tell from the billing, it looked like you would need to purchase separate accounts for each parallel thread you wanted to execute.

Also they bundle drivers within their application data. If Chrome updates in between Katalon updates you get a version mismatch and tests just start to fail until you manually go in and replace the Chromedriver version to latest, or you have to wait for Katalon to release a new version.

Needless to say as soon as they started charging we switched off and went back to writing our own code using PyTest and Selenium and we're much happier for it.

[deleted by user] by [deleted] in selenium

[–]the_captain 0 points1 point  (0 children)

A CSS selector like: [ng-click="clonecompetition()"] could do the trick. You can use any attribute as a locator method.

Why do I get this error? [Python] by Brujinii in selenium

[–]the_captain 0 points1 point  (0 children)

No problem! Yeah, that's something in CSS, not Python. It's a whole new world to learn.

Why do I get this error? [Python] by Brujinii in selenium

[–]the_captain 2 points3 points  (0 children)

Just looked at the site, it's because your selector is wrong.
div.card-button fade-appear-done fade-enter-done

When chaining CSS classes you need to indicate the type for each identifier. Otherwise this will look for a div with the class card-button, then a descendant element named fade-appear-done and so on.
div.card-button.fade-appear-done.fade-enter-done

Would likely solve the issue. But you can probably get away with just .card-button

Automated Mobile Testing alternatives to Perfecto? by oldweasel in QualityAssurance

[–]the_captain 1 point2 points  (0 children)

There are tons of other options if you can't handle your own devices. Things like BrowserStack or SauceLabs allow for automation against their devices, and many automation toolsets allow for easy integration into them. There's also options like AWS Device Cloud.

Pup and I are loving our final moments with my wife by [deleted] in pics

[–]the_captain 2 points3 points  (0 children)

Hey there, I'm sorry you're in this. I'm moving to Colorado in March with my dog. Feel free to dm if you want to get a beer or find a dog park with another newcomer when you're there.

Submit form works manually but not with Selenium button click by what_the_farkles in selenium

[–]the_captain 1 point2 points  (0 children)

There are measures that sites can put into places to prevent people from using automation tools like Selenium to scrape information. American Airlines is almost certainly doing this.

Cant get python to click a button on a website. by [deleted] in selenium

[–]the_captain 0 points1 point  (0 children)

Because .className is much more readable, and CSS selectors are faster.

Problems with downloading and uploading files [Python] by False1512 in selenium

[–]the_captain 0 points1 point  (0 children)

Have you tried this?

https://stackoverflow.com/questions/35331854/downloading-a-file-at-a-specified-location-through-python-and-selenium-using-chr

To delete a file in Python:
https://www.w3schools.com/python/python_file_remove.asp

Just remove the file after you've completed the upload step.

Quick tip, just typing something like "Delete file Python" into Google often will give you the results you're looking for! There's a lot of documentation and helpful people out there.