Questions tagged [click]
In user interfaces, click refers to the depressing of a mouse button or similar input device.
9,152
questions
0
votes
0
answers
16
views
How To Play Sound When I Click In The Button Which I Created Using Tkinter Using Python
I want to play sound when i click the button which i have created by python tkinter to determine that the button has been clicked or not. if button has been clicked it will play sound and if button ...
-3
votes
0
answers
27
views
Auto click Collect your reward [closed]
The button appears after 5 seconds
button info:
<button type="submit" class="btn btn-secondary btn-lg claim-button p-4" disabled>
<i class="far fa-check-circle&...
0
votes
0
answers
3
views
click testing issue : 'function' object has no attribute 'invoke' when using fixture
I am writing testing script for checking click function. I keep getting error -'function' object has no attribute 'invoke' when using fixture . If I do runner_cli = runner() in test_main then it say ...
-5
votes
0
answers
15
views
How do I make a script that clicks once at a specific time at any given spot?
I am trying to make something that clicks once at my mouse's current position. No matter where my mouse is at it will click. It works at any given spot. For example, it clicks once at 04:32:34. I need ...
0
votes
0
answers
10
views
Shell completion dependent on arguments already provided
I was wondering if it's possible using Click 8 to implement shell completion may depend on commands, options, and arguments that have already been specified earlier on the command line. I see that ctx....
0
votes
0
answers
8
views
How to make click to select a image file for further backend use
I am making a website of greeting cards.
And i am stuck on how to automatically select the card when clicked on it to select it and do further editing on next page.
0
votes
1
answer
23
views
How do you call a class's function from it's child button's callback (i.e. click method)?
I have a panel, in which there are a few buttons. Just for simplicity I'll just use one button in this example. I need each of the button's callback (i.e. click event) to be able to call a common ...
1
vote
1
answer
22
views
can't click() an onclick element with selenium (tried text link, partial text link, xpath, css selector)
I need to scrap some data from this url:
https://www.cnrtl.fr/definition/coupe
The data/results I need to scrap are located in those 3 different tabs:
I'm unable to click on the onclick element which ...
0
votes
1
answer
24
views
how do i make a picture box hide and show on click within an array?
im having trouble with a project which requires me to make a picture box inside of an array disappear when i click it, but for some reason, im having trouble getting it to do what i want. i know that ...
-1
votes
0
answers
61
views
How can I Click on an HTML element located into an iFrame, via Edge?
What is the command for executing script via Edge browser in order to click on the below HTML element having id="card"? Trying to get JS path from Google Chrome dev tool I get document....
1
vote
1
answer
25
views
How Do I Make a Circle Green When I Click It
I'm trying to make a Pygame window that has one thousand small circles and when I click one that circle will turn green. I am new to Pygame.
import pygame
import random as r
pygame.init()
screen = ...
1
vote
2
answers
19
views
Show an alert when someone clicks on a NON link
This is what I try to do.
To show an alert to those who click on any part of the page, not in a link
I try this but the alert appears when links are clicked too.
$('body').click(function(){
alert('...
0
votes
1
answer
10
views
RSelenium fails to findElement when not called individually
(Apologies for the bad title, improvements are welcome)
When I run the three last lines of the code below individually everything works as expected. It finds the "Primary Data" tab and ...
0
votes
0
answers
18
views
Cypress xpath click a drop-down menu and click wi
enter image description hereI have the xpath module insatlled and I try to do the following operations:
Click on an expandable option (type div);
After that click on the third item displayed in the ...
0
votes
1
answer
37
views
Is there a click event handler in tkinter?
Guys I'm writing a GUI in tkinter. I wanted to handle click events like whenever a user use the 'left' mouse button on the GUI. This is for playing a sound when a user clicks. So is there any ...
-1
votes
0
answers
10
views
I need a ctrl+click feature that performs 2 functions [duplicate]
I am still trying to learn javascript and don't quite have the syntax down yet. My client wants a ctrl+click feature on a button. If the button is just clicked, I want it to execute the existing code ...
0
votes
1
answer
28
views
Python: what is "@main.result_callback()"?
i'm trying to understand how that python code works. In particular i'm referring to that part (from line 27):
def main(**kwargs):
pass
@main.result_callback()
def run(methods, results_path, gpu, ...
0
votes
1
answer
55
views
Simulating a click through Windows API using C++ doesn't seem to work
so I have been trying to simulate a click on my file explorer window to get back from my open folder to the previous directory. Straight forward. So I used SpyXX to know the window's names, so I can ...
-2
votes
1
answer
25
views
Eventlistener is fired on whole document
I have an issue in my Javascript code with the eventlistener.
The Eventlistener (click) is firing over the whole document and not only on the specific element.
external file:
function $(selector){
...
0
votes
0
answers
25
views
html5 filltext or fillrect, click event
After getting each name and location from the database and printing it on the screen, when you click it, the name is sent to a popup. If you attach a click event to the canvas, it is applied to the ...
0
votes
1
answer
43
views
How to detect mouse release
I have a button that activates an animation. I want to stop the animation when I release the click. I have just this:
Private Sub AnimationButton_Click()
Call AnimationStart
End Sub
I tried ...
0
votes
0
answers
16
views
How to delete a specific item from a database when custom popup confirmation button will be cliked using react and tailwind
I'm created app where user can edit and delete items. Now i want that when user will clik the delete button a popup will be shown an user can either cancel or delete by confirming. How to do this?
0
votes
0
answers
12
views
ReactJS: Auto save form by using .click removes focus
I have a form which I am auto saving by triggering a click every 1.5secs by targeting the button element and performing a .click:
let intervalID;
useEffect(() => {
if (editing) {
...
0
votes
1
answer
27
views
How to find index of previous active class
I am trying to make a slider. Most of it is working till here, but I am not getting further as I want to find the index of the item which I removed the class as last from.(before the click)
So when I ...
0
votes
2
answers
67
views
WinAppDriver & Python error: AttributeError: 'dict' object has no attribute 'click'
I have a mini project that needs to automate tasks on GUI windows app using Python.
While trying to find a solution I found WinAppDriver which is Selenium-like.
When I try to run the python sample ...
-2
votes
0
answers
34
views
'! Node cannot be found in the current page' warning when attempting to inspect element
What could possibly be the reasons for why right-clicking and inspecting and element could result in it creating the 'warning' 'Node cannot be found in the current page.' not to mention a whole lot of ...
0
votes
2
answers
67
views
how can i get properties of clicked node with neovis
I am using the neo4j graph database and I am using neovis.js to visualize my graph.I visualized the graph but I can't get the info of the clicked node. How can I get properties of a clicked node with ...
0
votes
0
answers
11
views
Toggle to first and second click
I need to make this work for the first and second click so that it's not toggle.
So I can manually write the function for the first click and the second.
I'm desperate already, thank you for your help....
-1
votes
1
answer
31
views
Playwright Python Click in element inside iframe document
How can I click on this element that is inside an iframe with an html document?
IMAGE
.click() does not work
1
vote
1
answer
28
views
Why does my Javascript calculator function return "undefined" RANDOMLY, when I click on number buttons?
I'm working on a building out a fully functioning calculator in javascript. so far im able to add numbers to the display and delete numbers (both using click events).
However, for some reason, when I ...
0
votes
2
answers
31
views
How do I automatically click this button?
How I can make a script that automatically clicks this button?
<div data-v-2aabe0a6="" class="box-inner">
<span data-v-2aabe0a6="">JOIN</span>
</...
0
votes
0
answers
26
views
JavaScript to click buttons automatically in a sequence in a different page
I am trying to auto click a button that redirects to a new URL, and from there click a button. Both buttons need to be clicked one after another; however, the latter executes as soon as the first ...
0
votes
0
answers
17
views
python selenium selenium.common.exceptions.ElementNotInteractableException: Message: element not interactable
I'm tying to click and element:
driver.find_element_by_xpath("//li[@id='options-19-4']/div/span").click()
the number between options and 4 keeps changing ever session
and tried doing a ...
0
votes
0
answers
47
views
Impossible to click on element with selenium when browser not on mac current space
I'm using selenium in python to control a website. I use Firefox. I want to click on a mat-select element.
When Firefox is on one of my Mac used spaces (or desktops), all works fine.
When I switch to ...
-1
votes
0
answers
34
views
"Object is possibly 'null'" error in Angular
I want to give chosen(clicked) region different color on svg map, so I have following code:
ngAfterViewInit() {
let selectedArea:any = null;
let areas = document.querySelectorAll<...
0
votes
0
answers
11
views
Preventing losing focus when showing an element with jquery show
I'll try the best to be as mutch clear as possible.
I've an element with a click handler attached via jquery, let's call this element "e1". When "e1" is clicked, the handler call a ...
0
votes
1
answer
22
views
Javascript Code stops working when timeout is added
I am trying to add a class named pressed to an element with class named w. This will happen when user clicks on element containing class w. I then want to remove the class press after delay of 100.So ...
0
votes
0
answers
22
views
How can we create different Options Using Click in Python for calling multiple functions with same command
Here is the sample code for creating click options and args for running this.
'''
import click
class Test:
def test1(start_date, end_date):
s = f"hello test1 data for start_date and ...
0
votes
0
answers
16
views
pygame.mouse.get_pressed() and collidepoint() not working as expected [duplicate]
I’m making a Space Invaders game, and I’m having trouble with the home and pause screens. The main thing I’m unable to do is going back to the former from the latter, because the home screen button in ...
-1
votes
0
answers
24
views
Is there an Android app that autoclicks on a button when it appears?
I'm trying to figure out whether there is an android app that could automatically detect a button when it appears on the screen and clicks on it. For example the app could automatically click on a ...
0
votes
0
answers
13
views
Is there a good template or project for a python package using Click and holding to the PEP517 standard?
Building some packages with Click and using the old python setup.py install method for installing and then distributing my packages. I was wondering though if anyone had any projects or details on ...
0
votes
0
answers
22
views
YAML Pipeline Scan python
I have to write a python script where I need to parse YAML file and produce the list of steps that includes the image version for example:
this is the step
Step 1:
stage: setup
description:
...
1
vote
1
answer
27
views
How do I make it so that when I click it changes the list
I have a list full of colors; I'm trying to make it so that when I click a button, it moves over one position in a list, thus changing the color of a shirt. How would I make it so that when I click ...
-1
votes
0
answers
8
views
I want a code to click a button using doc.getelements?
The webpage code
I don't know what code should I use since there is no name or id.
enter image description here
0
votes
0
answers
24
views
How can i make something stay that way after clicking is done?
I have an image which is an arrow for sorting the list. When i click it has to change to other image which is downward of the same image. But it doesn't stay that way after clicking. . I need if else ...
-1
votes
0
answers
10
views
How to add callback function to .click in javascript [duplicate]
I stuck with click method in javascript. click is an asynchronous function but do not return any promise so I can not use await to solve it. The solution is to use callback but mine does not seem to ...
0
votes
0
answers
30
views
installing a bash console script using poetry, pipx, click, poethepoet, etc
I have a bash script which spawns an interactive client that connects to services in AWS. It would take too much effort to reimplement the entire utility in python, so for the time being I'd like to ...
1
vote
0
answers
36
views
vb.net how to trigger a treeview afterCheck event from inside MouseClick event
I have a treeview with parent and child nodes. all of them have check boxes.
I did the code of checking/unchecking all the childs when the parent is checked/unchecked.
I have a problem when mouse ...
0
votes
0
answers
33
views
Email Verification link not working when clicked, but works when pasting the link url itself
I have a verification email that is sent out to users that sign up for a website I have developed. When the user signs up I send them an HTML email that has an anchor tag (hyperlink) <a href="...
0
votes
0
answers
23
views
Add two classes in a v-for loop in Vue: one on a load event (after it fetches) and the other one on a click event
Here's my issue:
var vm = new Vue({
el: '#blog-page',
data: {
isShow: true,
blogs: [],
cats: [],
mycat: 'init',
svgClass: 'svgvue',
blogcats:...