Log in with your MaiOtaku account.
Home Forum Anime Members Help

what are you doing right now?

forgetmenot
Continuing to be a degenerate despite the fact that it has been made obvious to literally everyone that @fragrant_rosey is me. Yet I still play the different person act... That so, being the reason I named myself Diavolo/Doppio of course this isn't ahem canonically accurate to the Diavolo/Doppio thing but you can see where the comparison comes from
criselington
Wondering why @forgetmenot stole my ice cream and started talking to it
forgetmenot
Sorry Cris, I had to call the boss. You know how it is. Next cone is on me, I told him not to call an Ice cream next time. It took forever to get that stuff out of my hair when I got home!
arc
Apr 17, 23 at 4:14pm
brain is hurting defining selenium methods. Here is an example of what I'm working on using web automation. Basically I add a promo and then validate that it is discounted correctly: def ApplyPromo(): assert totalAmount != 0 driver.find_element(By.CSS_SELECTOR, ".promoCode").send_keys("Big20") driver.find_element(By.CSS_SELECTOR, ".promoBtn").click() # promo code may take up to 10 seconds, so you need to apply an explicit wait here to extend the time in this case wait = WebDriverWait(driver, 10) wait.until(expected_conditions.presence_of_element_located((By.CSS_SELECTOR, ".promoInfo"))) promoText = driver.find_element(By.CLASS_NAME, "promoInfo").text print(promoText) assert promoText == "Code applied ..!" discountPercentage = int((driver.find_element(By.CSS_SELECTOR, ".discountPerc").text).strip('%')) discountedTotal = (totalAmount - (totalAmount / discountPercentage)) currency = locale.currency((discountedTotal / 100), grouping=True) assert discountedTotal == float(driver.find_element(By.CSS_SELECTOR, ".discountAmt").text) print("Total after discount = " + str(currency))
criselington
Hell yeah, keep it @chiarichibi the more languages you know the easier world domination is
forgetmenot
As long as I get to be her world domination partner, that is.. wouldn't wanna have a Jonathan and Dio rivalry going on
arc
Apr 27, 23 at 6:24pm
If I am going to be perfectly honest I am up to no good
forgetmenot
@arc Truly the best thing to be up to huh? LOL
forgetmenot
Pic
Making my follower pick up Meridia's beacon coz I don't wanna hear that NEW HAND TOUCHES THE BEACON shit
Continue
Please login to post.