- 61
- 155 746
Rahul Mula
Приєднався 1 січ 2022
Hi, my name is Rahul Mula and I'm a developer and instructor. I have authored books and instructed courses on python programming and thousands of students have joined so far.
I've also developed Keyviz - the free and open-source ⌨ keypress visualiser. And Refresh - an app that helps you follow the 👀 20-20-20 rule.
I've also developed Keyviz - the free and open-source ⌨ keypress visualiser. And Refresh - an app that helps you follow the 👀 20-20-20 rule.
Playwright Python - Upload Files
In this video you'll learn how to upload files. We will set the input file/s inside a file input field.
Full Playwright Course 🎭 - bit.ly/playwright-auto
You can select input files for upload using the locator.set_input_files() method. It expects first argument to point to an input element with the type "file". Multiple files can be passed in the array. If some of the file paths are relative, they are resolved relative to the current working directory. Empty array clears the selected files.
Playwright is a modern, fast and reliable browser automation tool from Microsoft that enables testing and automation across all modern browsers including chromium, firefox and webkit.
Full Playwright Course 🎭 - bit.ly/playwright-auto
You can select input files for upload using the locator.set_input_files() method. It expects first argument to point to an input element with the type "file". Multiple files can be passed in the array. If some of the file paths are relative, they are resolved relative to the current working directory. Empty array clears the selected files.
Playwright is a modern, fast and reliable browser automation tool from Microsoft that enables testing and automation across all modern browsers including chromium, firefox and webkit.
Переглядів: 1 757
Відео
Playwright Python - Dropdown Menu
Переглядів 1,4 тис.Рік тому
In this video you'll learn how to open a dropdown menu and select an option/item from the same. Full Playwright Course 🎭 - bit.ly/playwright-auto Playwright is a modern, fast and reliable browser automation tool from Microsoft that enables testing and automation across all modern browsers including chromium, firefox and webkit.
Playwright Python - Option/Select Menu
Переглядів 1 тис.Рік тому
In this video you'll learn how to select a specific options in an option menu or select element. Full Playwright Course 🎭 - bit.ly/playwright-auto Selects one or multiple options in the select element with locator.select_option(). You can specify option value, or label to select. Multiple options can be selected. Playwright is a modern, fast and reliable browser automation tool from Microsoft t...
Playwright Python - Checkbox and Radio Inputs
Переглядів 967Рік тому
In this video you'll learn how to work with checkboxes, and radio inputs, how to toggle, check, or uncheck a checkbox, and select a specific option in radio inputs. Full Playwright Course 🎭 - bit.ly/playwright-auto Using locator.set_checked() is the easiest way to check and uncheck a checkbox or a radio button. This method can be used with input[type=checkbox], input[type=radio] and [role=check...
Playwright Python - Input Field Actions
Переглядів 1,5 тис.Рік тому
In this video you'll learn how to perform various actions on input fields, how to fill data inside input fields, type characters on by one, clear previous data and so on. Full Playwright Course 🎭 - bit.ly/playwright-auto Using locator.fill() is the easiest way to fill out the form fields. It focuses the element and triggers an input event with the entered text. It works for input, textarea and ...
Playwright Python - Mouse Actions
Переглядів 1,6 тис.Рік тому
In this video you'll learn how to perform mouse interactions on web elements like hover and click. Full Playwright Course 🎭 - bit.ly/playwright-auto In this lesson you'll learn how to perform a simple human click, hover over elements, double click, use right or left mouse button, or hold down modifiers when performing clicks. Playwright is a modern, fast and reliable browser automation tool fro...
Playwright Python - Other Locators
Переглядів 1,1 тис.Рік тому
In this video you'll learn the other locators offered by playwright. In addition to recommended locators like `page.get_by_role()` and `page.get_by_text()`, Playwright supports a variety of other locators described in this video. You can read about the locator not discussed in this video here - playwright.dev/python/docs/other-locators ✨ Ultimate Guide to Python 3.10 🐍 - bit.ly/pywizard ✨ Full ...
Playwright Python - XPath Functions
Переглядів 1,2 тис.Рік тому
In this video you'll learn how to locate web elements using xpath and xpath functions. XPath functions enhance XPath expressions by providing additional capabilities such as manipulating strings, performing mathematical calculations, extracting values, and filtering elements based on conditions. XPath and CSS selectors can be tied to the DOM structure or implementation. These selectors can brea...
Playwright Python - XPath Locator
Переглядів 2,1 тис.Рік тому
In this video you'll learn how to locate web elements using xpath. XPath is a language used to navigate and select elements in an XML or HTML document. It provides a concise syntax for locating elements based on their attributes, relationships, and positions within the document structure. If you absolutely must use CSS or XPath locators, you can use `page.locator()` to create a locator that tak...
Playwright Python - CSS Selector Pseudo Classes
Переглядів 1,2 тис.Рік тому
In this video you'll learn how to locate web elements using special css selector pseudo classes. Playwright include a number of CSS pseudo-classes to locate elements: - `:has-text()` matches any element containing specified text somewhere inside, possibly in a child or a descendant element. Matching is case-insensitive, trims whitespace and searches for a substring. - `:text()` pseudo-class mat...
Playwright Python - CSS Selectors Hierarchy
Переглядів 1,3 тис.Рік тому
In this video you'll learn how to locate web elements using css selectors and their parent-child relationship. CSS parent-child selectors are used to target elements that are direct descendants of another element. They allow developers to select and style specific child elements based on their relationship to their parent element. Parent-child selectors use the angled-bracket/greater-than symbo...
Playwright Python - CSS Selectors
Переглядів 2,1 тис.Рік тому
In this video you'll learn how to locate web elements using css selectors. CSS selectors are patterns used to select and style HTML elements. They allow developers to target specific elements based on their tag name, class, ID, attributes, and relationships to other elements. CSS selectors are essential for applying styles to specific elements or groups of elements, enabling precise control ove...
Playwright Python - Title Locator
Переглядів 1,3 тис.Рік тому
In this video you'll learn how to locate web elements based on their title attribute. Locate an element with a matching title attribute using page.get_by_title(). The title attribute is commonly used in web elements to provide additional information and create tooltips. It can be applied to various HTML elements such as links, buttons, inputs, and images. When a user hovers over or interacts wi...
Playwright Python - Alt Text Locator
Переглядів 1,5 тис.Рік тому
In this video you'll learn how to locate images based on their alt text attribute. All images should have an alt attribute that describes the image. You can locate an image based on the text alternative using page.get_by_alt_text(). Unsplash - unsplash.com 🔧 When to use? Use this locator when your element supports alt text such as img and area elements. ✨ Ultimate Guide to Python 3.10 🐍 - bit.l...
Playwright Python - Inner Text Locator
Переглядів 2,2 тис.Рік тому
In this video you'll learn how to locate web elements using their inner text. Find an element by the text it contains. You can match by a substring, exact string, or a regular expression when using page.get_by_text(). You can locate the element by the text it contains, or set an exact match. Matching by text always normalizes whitespace, even with exact match. For example, it turns multiple spa...
Playwright Python - Input Field Locator
Переглядів 2,6 тис.Рік тому
Playwright Python - Input Field Locator
Playwright in Interactive Mode (REPL)
Переглядів 4,4 тис.Рік тому
Playwright in Interactive Mode (REPL)
How to Create and Activate Python Virtual Environment on Mac
Переглядів 9 тис.Рік тому
How to Create and Activate Python Virtual Environment on Mac
Scrapy Output - Export data to CSV, JSON, or XML
Переглядів 603Рік тому
Scrapy Output - Export data to CSV, JSON, or XML
Scrapy Item Loaders - Populate Item Fields With Processors
Переглядів 670Рік тому
Scrapy Item Loaders - Populate Item Fields With Processors
Scrapy Item Processors - Process values before storing
Переглядів 210Рік тому
Scrapy Item Processors - Process values before storing
Scrapy Use Items - Storing Data in Items Feilds
Переглядів 6502 роки тому
Scrapy Use Items - Storing Data in Items Feilds
i love the design, so cool and it's freeee! I'm glad i found this to help with my video tutorial, thank you so much 😁😁 will recommend to my friends.
portable " Cannot load library flutter_acrylic_plugin.dll " The .dll + 3 msvcp140...dll from the github flutter_acrylic DL into Windir System32
@Rahul Mula Bro have on Question I have Done one Project With this which is completely running on My Local System Can you tell me Where i have to deploy this Code On Server So When I hit The API It Will the Chromium browser on My Local System Help me in this
You can look into SSH for the same.
Great, thank you 😊
sub + liked plus big thank you sir for wonderful app and wonderful explanation u deserve it greetings from Yemen
Thanks and welcome
Nice
How can i have it in fullscreen programs like games? In windowed games its showing but not in the screen recording ( nvidia experience).
Which version are you using?
@@rahulmula v1.0.6 on win11 Thanks for your reply <3
What is the difference between using xpath with or without contains compared to page.get_by_text with exact set to True or False? Is the xpath method more specific because it takes a type? Thank you!
With XPath you can combine it with more selectors in one go and with the playwright method you get ease of use.
Thanku bro, your doing good
Thank you for this product. It will be of great help in my tutorial videos.
Thank you for your content. Very useful material. 💙
great tutorial series, really clear explanations. thank you!
you are a life saver!!
thank you so muuuuch! :D
Thank you so much!
sorry: do you have a plan that we can realize such sign-options: ◆ = fetter rauten-punkt OR • fetter auflistungs-punkt im txt.editor O® → pfeil rechts
Multi-lingual support is planned but special signs are well special
can we turn on the shown keyboard-layout on german laguage because i have a taste like "ß" + ä +ö +ü ???
Thx!
what does it mean when it fails to fetch. (taking longer than 180 seconds)
It means the page didn't load. Either it took long to respond or the url has some issues.
Can you add Escape key(Esc) as well in "Ignore Keys"
e
🔥
I am video editor you can higher me
Incredible work
I like this, but there needs to be an option to make it smaller...
Hi, which extension you using? In video you have in 1:55 "Expected indented block" Thanks for letting me know :)
It's an extension called "Error Lens"
Hello, How do you run run your test? I can't see highlights
thank you , easy peasy!
Can you please tell the plugin or library that allows to see the suggestions based on the keyword we enter like the ones you are getting when you type pip install .... in the terminal.
it's in the description I believe, called Warp.
thing is... i have two monitors, and i want to display the keys i press on the second monitor but i cant find the option to do so, so how do i display it on my other monitor?
Very helpful
[NEW] Download From Microsoft Store - www.microsoft.com/store/productId/9PHZPJ643P7L For older versions and other platforms - github.com/mulaRahul/keyviz/releases/
can be installed with poetry?
can we click after hover over the element?
Yes you can follow a click action, after hover
So i was searching for the best course so far. I found this course. Didnt have money to buy his udemy course so came here. So far I have learned a lot. Thanks bro keep it up! Your method is amazing. Can you also teach scraping with playwright?
You can look into scrapy and playwright
this function not running in 2024.
I installed playwright and all went fine until installing browsers. playwright install returns without doing anything or giving any error. when I try to run your script I get error page = browser.new_page() ^^^^^^^^^^^^^^^^^^
Hi brother, I am having an issue with my program. I did whatever you did but my programs output does not come in the same terminal where I have activated the venv instead it opens up another terminal without venv. Can you tell me what am I doing wrong here?
How are you running your python scripts?
@@rahulmula I do not know😭. First I created venv then I installed all packages and then I ran the script app.py but it launches another terminal and it doesn't show .venv like yours. I checked interpreter below and it shows python 3.12.3 .venv
Amazing program!
playwright._impl._errors.Error: Error: Node is not an HTMLInputElement
Dear rahul the code generate by the codegen is not working
The code gen is good as far as generating skeleton code. You'll have to manually tune the code according to the website
playwright._impl._errors.Error: Error: Node is not an HTMLInputElement twitter
Wow! Thank you!! I was looking for something like this!!
Just watched all your videos on Playwright, thanks so much.
Thanks for the tutorial!
getting below error : (venv) PS C:\Users\Nash\Desktop\playwrightproject> from plawright.sync_api import sync_playwright At line:1 char:1 + from plawright.sync_api import sync_playwright + ~~~~ The 'from' keyword is not supported in this version of the language. + CategoryInfo : ParserError: (:) [], ParentContainsErrorRecordException + FullyQualifiedErrorId : ReservedKeywordNotAllowed
What's the version of python on your system?
Does the REPL work for async?
Yes it works
Thanks, you save me 😂
How can I move the keystrokes to a different monitor?
Planned for future release.
Bro miss ya,drop some more playlists,hope you are doing okay!
Thanks for reaching out, doing some renovations right now. Will start uploading shortly!