# Selenium Automation Script
This Python script utilizes Selenium for web automation to perform tasks related to logging in, updating workspace reports, and downloading reports..
## Prerequisites
- Python installed (version 3.x recommended)
- Powerbi Account
# Features
## UpdateWorkspace
Updates the specified workspace.
```python
from PBI-SELENIUM import Routine
Login = 'exemple@gmail.com'
Password = 'exemple123'
Workspace = 'https://app.powerbi.com/groups/me/list?experience=power-bi'
Routine.UpdateWorkspace(Login,Password,Workspace)
```
## DownloadReport
Downloads reports from specified links.
```python
from PBI-SELENIUM import Routine
Login = 'exemple@gmail.com'
Password = 'exemple123'
Workspace = 'https://app.powerbi.com/groups/me/list?experience=power-bi'
links = ['Yourdashboardlink','https://app.powerbi.com/groups/me/reports//ReportSection?experience=power-bi']
Routine.DownloadReport(Login,Password,Workspace,links)
```
## ViewReports
Views reports at regular intervals.
```python
from PBI-SELENIUM import Routine
Login = 'exemple@gmail.com'
Password = 'exemple123'
Workspace = 'https://app.powerbi.com/groups/me/list?experience=power-bi'
interval = 10 # interval time between reports
links = ['https://app.powerbi.com/groups/me/reports//ReportSection?experience=power-bi']
Routine.ViewReports(Login,Password,Workspace,interval,links)
```
Raw data
{
"_id": null,
"home_page": "",
"name": "PBI-SELENIUM",
"maintainer": "",
"docs_url": null,
"requires_python": "",
"maintainer_email": "",
"keywords": "Selenium,PowerBi,Automatization,automation",
"author": "Andre Ailton",
"author_email": "andre.ailtonf.10@gmail.com",
"download_url": "https://files.pythonhosted.org/packages/96/09/b368dfc2f6b9441e37758b63910279f71c4be851cbdb0cb3eecfc9a928af/PBI_SELENIUM-1.0.tar.gz",
"platform": null,
"description": "# Selenium Automation Script\r\n\r\nThis Python script utilizes Selenium for web automation to perform tasks related to logging in, updating workspace reports, and downloading reports..\r\n\r\n## Prerequisites\r\n\r\n- Python installed (version 3.x recommended)\r\n- Powerbi Account\r\n\r\n\r\n# Features\r\n\r\n## UpdateWorkspace\r\nUpdates the specified workspace. \r\n```python\r\n from PBI-SELENIUM import Routine \r\n \r\n Login = 'exemple@gmail.com'\r\n Password = 'exemple123'\r\n Workspace = 'https://app.powerbi.com/groups/me/list?experience=power-bi'\r\n \r\n Routine.UpdateWorkspace(Login,Password,Workspace)\r\n```\r\n\r\n\r\n\r\n## DownloadReport\r\nDownloads reports from specified links. \r\n```python\r\n from PBI-SELENIUM import Routine \r\n \r\n Login = 'exemple@gmail.com'\r\n Password = 'exemple123'\r\n Workspace = 'https://app.powerbi.com/groups/me/list?experience=power-bi'\r\n links = ['Yourdashboardlink','https://app.powerbi.com/groups/me/reports//ReportSection?experience=power-bi']\r\n \r\n Routine.DownloadReport(Login,Password,Workspace,links)\r\n```\r\n## ViewReports\r\nViews reports at regular intervals.\r\n```python\r\n from PBI-SELENIUM import Routine \r\n \r\n Login = 'exemple@gmail.com'\r\n Password = 'exemple123'\r\n Workspace = 'https://app.powerbi.com/groups/me/list?experience=power-bi'\r\n interval = 10 # interval time between reports\r\n links = ['https://app.powerbi.com/groups/me/reports//ReportSection?experience=power-bi']\r\n \r\n \r\n Routine.ViewReports(Login,Password,Workspace,interval,links)\r\n```\r\n",
"bugtrack_url": null,
"license": "",
"summary": "package for routine operations in power bi",
"version": "1.0",
"project_urls": null,
"split_keywords": [
"selenium",
"powerbi",
"automatization",
"automation"
],
"urls": [
{
"comment_text": "",
"digests": {
"blake2b_256": "9609b368dfc2f6b9441e37758b63910279f71c4be851cbdb0cb3eecfc9a928af",
"md5": "5ba36625405b457fc1a50517c2d9e742",
"sha256": "e881f214c5863a8e2b84542b15c37362df9aae3f59191f2dec44f5dad43c73f2"
},
"downloads": -1,
"filename": "PBI_SELENIUM-1.0.tar.gz",
"has_sig": false,
"md5_digest": "5ba36625405b457fc1a50517c2d9e742",
"packagetype": "sdist",
"python_version": "source",
"requires_python": null,
"size": 4491,
"upload_time": "2023-11-18T19:10:43",
"upload_time_iso_8601": "2023-11-18T19:10:43.840381Z",
"url": "https://files.pythonhosted.org/packages/96/09/b368dfc2f6b9441e37758b63910279f71c4be851cbdb0cb3eecfc9a928af/PBI_SELENIUM-1.0.tar.gz",
"yanked": false,
"yanked_reason": null
}
],
"upload_time": "2023-11-18 19:10:43",
"github": false,
"gitlab": false,
"bitbucket": false,
"codeberg": false,
"lcname": "pbi-selenium"
}